1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-03-03 14:53:01 +02:00

fixed poll checkbox spam

This commit is contained in:
grilledham 2018-05-29 00:23:42 +01:00
parent 371cdc51ae
commit 3fd916bc56

View File

@ -270,8 +270,7 @@ local function on_gui_click(event)
end
if (name == "auto_show_polls_checkbox") then
global.autoshow_polls_for_player[player.name] = not global.autoshow_polls_for_player[player.name]
game.print(global.autoshow_polls_for_player[player.name])
global.autoshow_polls_for_player[player.name] = not global.autoshow_polls_for_player[player.name]
end
if global.poll_voted[event.player_index] == nil then