From: Slava Bacherikov Date: Wed, 8 Apr 2020 19:38:33 +0000 (+0300) Subject: Fix bug with lava and flag X-Git-Tag: xonotic-v0.8.5~1107^2 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=5bd759afaa2272663e69a8b4973dc7c53ed192f4;hp=8c739d445be0d0ea98d7b12b3a60426b847a688c Fix bug with lava and flag --- diff --git a/qcsrc/common/gamemodes/gamemode/ctf/sv_ctf.qc b/qcsrc/common/gamemodes/gamemode/ctf/sv_ctf.qc index cfe8d4058d..5e508637d0 100644 --- a/qcsrc/common/gamemodes/gamemode/ctf/sv_ctf.qc +++ b/qcsrc/common/gamemodes/gamemode/ctf/sv_ctf.qc @@ -1147,6 +1147,7 @@ METHOD(Flag, giveTo, bool(Flag this, entity flag, entity toucher)) .float last_respawn; void ctf_RespawnFlag(entity flag) { + flag.watertype = CONTENT_EMPTY; // check for flag respawn being called twice in a row if(flag.last_respawn > time - 0.5) { backtrace("flag respawn called twice quickly! please notify Samual about this..."); }