Game Scene Split up
This commit is contained in:
@@ -81,6 +81,10 @@ namespace ProjectM.Authoring
|
||||
// plus the server-only respawn timer.
|
||||
AddComponent<Dead>(entity);
|
||||
SetComponentEnabled<Dead>(entity, false);
|
||||
// Dev god-mode gate (enableable, server-only) baked DISABLED so toggling it is a bit flip, never structural.
|
||||
AddComponent<DebugGodMode>(entity);
|
||||
SetComponentEnabled<DebugGodMode>(entity, false);
|
||||
|
||||
AddComponent(entity, new RespawnState { RespawnTick = 0, DelayTicks = authoring.RespawnDelayTicks, InvulnTicks = authoring.RespawnInvulnTicks });
|
||||
AddComponent(entity, new RespawnInvuln { UntilTick = 0 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user