]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/sv_main.qc
Campaign, LMS level: end game as soon as player loses; it fixes #1857
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / sv_main.qc
index 1e5435795ede10837845c36ebd35104ea2ad96d3..d2cc9b960b650dbcdab5fdeb39e616c7e44a3cb0 100644 (file)
@@ -126,6 +126,9 @@ void CreatureFrame_FallDamage(entity this)
 
 void CreatureFrame_All()
 {
+       if(game_stopped || time < game_starttime)
+               return;
+
        IL_EACH(g_damagedbycontents, it.damagedbycontents,
        {
                if (it.move_movetype == MOVETYPE_NOCLIP) continue;