forked from Mirrors/openclonk
Add Rule_BaseRespawn which sets Rule_Relaunch to base respawn mode in order to prevent breaking scenarios
parent
a4eacd7937
commit
13303c98af
|
@ -0,0 +1,7 @@
|
|||
[DefCore]
|
||||
id=Rule_BaseRespawn
|
||||
Version=8,0
|
||||
Category=C4D_StaticBack | C4D_Rule
|
||||
Width=32
|
||||
Height=32
|
||||
Offset=-16,-16
|
|
@ -0,0 +1,7 @@
|
|||
/* Converts itself to the Rule_Relaunch rule. */
|
||||
|
||||
protected func Construction()
|
||||
{
|
||||
GetRelaunchRule()->SetBaseRespawn(true);
|
||||
return RemoveObject();
|
||||
}
|
Loading…
Reference in New Issue