]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
spawnfuncs: fix SV_OnEntityPreSpawnFunction
authorTimePath <andrew.hardaker1995@gmail.com>
Wed, 30 Aug 2017 10:07:24 +0000 (20:07 +1000)
committerTimePath <andrew.hardaker1995@gmail.com>
Fri, 1 Sep 2017 09:53:55 +0000 (19:53 +1000)
qcsrc/server/sv_main.qc

index 7d27e0298a97d82678a48678c000c86c97ac2c65..87430a93eff4502037e10c52e8dd511f820e1852 100644 (file)
@@ -348,7 +348,7 @@ void SV_OnEntityPreSpawnFunction(entity this)
        }
        return;
 LABEL(cleanup)
-    delete(this);
+    builtin_remove(this);
     __spawnfunc_expecting = false;
 }