]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Only do Q3 entity removal checks when it's a Q3 map
authorbones_was_here <bones_was_here@yahoo.com.au>
Mon, 10 Aug 2020 09:17:10 +0000 (19:17 +1000)
committerbones_was_here <bones_was_here@yahoo.com.au>
Mon, 10 Aug 2020 09:17:10 +0000 (19:17 +1000)
qcsrc/server/main.qc

index bbafd022df286bcdd8c96a93e347dbc0225e5dd1..737f63aa7870d6da5d48ff05b8b46f28528cf39e 100644 (file)
@@ -349,7 +349,7 @@ void SV_OnEntityPreSpawnFunction(entity this)
                return;
        }
 
-       if (DoesQ3ARemoveThisEntity(this)) {
+       if (q3compat && DoesQ3ARemoveThisEntity(this)) {
                delete(this);
                return;
        }