NSIO: Check is entity was freed before calling Respawn()
This commit is contained in:
parent
015eaa34fd
commit
fcf846dee0
1 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,10 @@ NSIO::Init(void)
|
|||
#endif
|
||||
Spawned();
|
||||
|
||||
/* entity may be marked as deleted */
|
||||
if (wasfreed(this))
|
||||
return;
|
||||
|
||||
#ifdef SERVER
|
||||
/* we're loading entity data, don't call Respawn() */
|
||||
if (g_isloading == true)
|
||||
|
|
Loading…
Reference in a new issue