]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/minigames/minigame/c4.qc
Minigames: ignore downarrow and uparrow keys while playing Connect Four instead of...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / minigames / minigame / c4.qc
index 1f7f87c83ffd044408851aa4d996631bf5680393..8c12f8dfb1a7cefa1b626f963265368cf8d39ec1 100644 (file)
@@ -446,6 +446,11 @@ int c4_client_event(entity minigame, string event, ...)
                                                else
                                                        c4_set_curr_pos(c4_get_lowest_tile(minigame, minigame_relative_tile(c4_curr_pos,-1,0,C4_NUM_CNT,C4_LET_CNT)));
                                                return true;
+                                       case K_UPARROW:
+                                       case K_KP_UPARROW:
+                                       case K_DOWNARROW:
+                                       case K_KP_DOWNARROW:
+                                               return true;
                                        /*case K_UPARROW:
                                        case K_KP_UPARROW:
                                                if (event == "key_released")