Fix calling script OnDestroy when removing actors or scripts from the scene

This commit is contained in:
Wojtek Figat
2023-12-18 21:43:13 +01:00
parent 72f45afa45
commit bc2e130281
3 changed files with 41 additions and 12 deletions

View File

@@ -20,6 +20,7 @@ protected:
uint16 _tickUpdate : 1;
uint16 _tickLateUpdate : 1;
uint16 _tickLateFixedUpdate : 1;
uint16 _wasAwakeCalled : 1;
uint16 _wasStartCalled : 1;
uint16 _wasEnableCalled : 1;
#if USE_EDITOR