]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix bug with lava and flag
authorSlava Bacherikov <slava@bacher09.org>
Wed, 8 Apr 2020 19:38:33 +0000 (22:38 +0300)
committerSlava Bacherikov <slava@bacher09.org>
Thu, 9 Apr 2020 12:43:00 +0000 (15:43 +0300)
qcsrc/common/gamemodes/gamemode/ctf/sv_ctf.qc

index cfe8d4058d983d42a4ceca3c45e74706b72a99b3..5e508637d0cff0fbeb6457a6f32d7361a73bf809 100644 (file)
@@ -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..."); }