From 5bd759afaa2272663e69a8b4973dc7c53ed192f4 Mon Sep 17 00:00:00 2001 From: Slava Bacherikov Date: Wed, 8 Apr 2020 22:38:33 +0300 Subject: [PATCH] Fix bug with lava and flag --- qcsrc/common/gamemodes/gamemode/ctf/sv_ctf.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/common/gamemodes/gamemode/ctf/sv_ctf.qc b/qcsrc/common/gamemodes/gamemode/ctf/sv_ctf.qc index cfe8d4058..5e508637d 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..."); } -- 2.39.2