From b3543a711c64092c949e743fe2e086b62a279491 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 21 Sep 2018 12:14:12 +1000 Subject: [PATCH] Don't prompt about turns in singleplayer minigames --- qcsrc/common/minigames/minigame/bd.qc | 2 +- qcsrc/common/minigames/minigame/ps.qc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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(); } } -- 2.39.2