From: bones_was_here Date: Mon, 10 Aug 2020 09:17:10 +0000 (+1000) Subject: Only do Q3 entity removal checks when it's a Q3 map X-Git-Tag: xonotic-v0.8.5~352^2~50 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ae4cd70ff94b86e87afff0a70178e1df5863fd57;p=xonotic%2Fxonotic-data.pk3dir.git Only do Q3 entity removal checks when it's a Q3 map --- diff --git a/qcsrc/server/main.qc b/qcsrc/server/main.qc index bbafd022d..737f63aa7 100644 --- a/qcsrc/server/main.qc +++ b/qcsrc/server/main.qc @@ -349,7 +349,7 @@ void SV_OnEntityPreSpawnFunction(entity this) return; } - if (DoesQ3ARemoveThisEntity(this)) { + if (q3compat && DoesQ3ARemoveThisEntity(this)) { delete(this); return; }