forked from Mirrors/openclonk
kill log ignores calls with clonk==nil
parent
a33500a3c2
commit
a3d27b9911
|
@ -16,6 +16,7 @@ func OnClonkDeath(object clonk, int killed_by)
|
|||
{
|
||||
var plr=clonk->GetOwner();
|
||||
if(plr == NO_OWNER) return;
|
||||
if(!clonk) return;
|
||||
|
||||
// assert there are three StringTbl entries for each
|
||||
var which_one=Random(3)+1;
|
||||
|
|
Loading…
Reference in New Issue