forked from Mirrors/openclonk
Make a positive return of the OnPlayerRelaunch game call suppress regular relaunch behavior.
I suspect this was intended all along (compare to line #223) but not implemented by mistake.install-platforms
parent
d34f0a689b
commit
1144837e7e
|
@ -241,7 +241,8 @@ public func OnClonkDeath(object clonk, int killer)
|
|||
return;
|
||||
}
|
||||
}
|
||||
GameCall("OnPlayerRelaunch", plr, true);
|
||||
if (GameCall("OnPlayerRelaunch", plr, true));
|
||||
return;
|
||||
return DoRelaunch(plr, clonk, nil);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue