]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Do not crash when crylink spike is attempted to be removed morosophos/do-not-crash-on-crylink-spike-bug
authorNick S <nick@teichisma.info>
Thu, 27 Jan 2022 15:49:29 +0000 (17:49 +0200)
committerNick S <nick@teichisma.info>
Thu, 27 Jan 2022 15:49:29 +0000 (17:49 +0200)
qcsrc/server/main.qc

index 2b29422b8969362356b6a552106158c9b881d0e7..5f560022eecdcefaa4eb37ecc752cebc1f4fd648 100644 (file)
@@ -248,7 +248,7 @@ void remove_except_protected(entity e)
 void remove_unsafely(entity e)
 {
     if(e.classname == "spike")
-        error("Removing spikes is forbidden (crylink bug), please report");
+        LOG_WARN("Removing spikes is forbidden (crylink bug), please report");
     builtin_remove(e);
 }