fix worldspawn save prevention
This commit is contained in:
@@ -259,13 +259,13 @@ namespace Game
|
||||
public override void OnEnable()
|
||||
{
|
||||
Editor.Instance.PlayModeBeginning += OnEditorPlayModeStart;
|
||||
Editor.Instance.PlayModeEnding += OnEditorPlayModeEnd;
|
||||
Editor.Instance.PlayModeEnd += OnEditorPlayModeEnd;
|
||||
}
|
||||
|
||||
public override void OnDisable()
|
||||
{
|
||||
Editor.Instance.PlayModeBeginning -= OnEditorPlayModeStart;
|
||||
Editor.Instance.PlayModeEnding -= OnEditorPlayModeEnd;
|
||||
Editor.Instance.PlayModeEnd -= OnEditorPlayModeEnd;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user