]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_hook.qc
Rename gameover to game_stopped as it makes more sense now. Proper game over check...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_hook.qc
index a69b98487d2cbb7cb16833656178e4b369419faa..ef4cbc5a65409f2858f5a90561fa4c0a4910d240 100644 (file)
@@ -163,7 +163,7 @@ void GrapplingHookThink(entity this)
                error("Owner lost the hook!\n");
                return;
        }
-       if(LostMovetypeFollow(this) || gameover || (round_handler_IsActive() && !round_handler_IsRoundStarted()) || ((this.aiment.flags & FL_PROJECTILE) && this.aiment.classname != "nade"))
+       if(LostMovetypeFollow(this) || game_stopped || (round_handler_IsActive() && !round_handler_IsRoundStarted()) || ((this.aiment.flags & FL_PROJECTILE) && this.aiment.classname != "nade"))
        {
                RemoveHook(this);
                return;