From: Mario Date: Fri, 21 Sep 2018 02:14:12 +0000 (+1000) Subject: Don't prompt about turns in singleplayer minigames X-Git-Tag: xonotic-v0.8.5~1844 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b3543a711c64092c949e743fe2e086b62a279491;p=xonotic%2Fxonotic-data.pk3dir.git Don't prompt about turns in singleplayer minigames --- diff --git a/qcsrc/common/minigames/minigame/bd.qc b/qcsrc/common/minigames/minigame/bd.qc index b4195c057..91fa9cbda 100644 --- a/qcsrc/common/minigames/minigame/bd.qc +++ b/qcsrc/common/minigames/minigame/bd.qc @@ -1370,7 +1370,7 @@ int bd_client_event(entity minigame, string event, ...) { sent.message = bd_turn_to_string(sent.minigame_flags); //if ( sent.minigame_flags & minigame_self.team ) - minigame_prompt(); + //minigame_prompt(); } } else if(sent.classname == "minigame_board_piece") diff --git a/qcsrc/common/minigames/minigame/ps.qc b/qcsrc/common/minigames/minigame/ps.qc index c8851f2ac..b5b900b8a 100644 --- a/qcsrc/common/minigames/minigame/ps.qc +++ b/qcsrc/common/minigames/minigame/ps.qc @@ -606,8 +606,8 @@ int ps_client_event(entity minigame, string event, ...) if ( sf & MINIG_SF_UPDATE ) { sent.message = ps_turn_to_string(sent.minigame_flags); - if ( sent.minigame_flags & minigame_self.team ) - minigame_prompt(); + //if ( sent.minigame_flags & minigame_self.team ) + //minigame_prompt(); } }