mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-04 09:42:30 +02:00
misc fixes
This commit is contained in:
parent
6b70d01957
commit
6ba2c75cbd
2
poll.lua
2
poll.lua
@ -938,7 +938,7 @@ Gui.on_click(
|
||||
local main_frame_data = Gui.get_data(main_frame)
|
||||
local poll_index = main_frame_data.poll_index
|
||||
|
||||
if removed_index >= poll_index then
|
||||
if removed_index < poll_index then
|
||||
main_frame_data.poll_index = poll_index - 1
|
||||
end
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
local Event = require 'utils.event'
|
||||
local Token = require 'utils.global_token'
|
||||
|
||||
Global = {}
|
||||
local Global = {}
|
||||
|
||||
local load_data = {}
|
||||
local init_data = {}
|
||||
|
Loading…
Reference in New Issue
Block a user