mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-09 13:37:02 +02:00
Update tank_conquest.lua
This commit is contained in:
parent
4db5054e40
commit
3b3fb316c2
@ -544,10 +544,10 @@
|
|||||||
|
|
||||||
function draw_gui_squad( player )
|
function draw_gui_squad( player )
|
||||||
|
|
||||||
if global.table_of_properties.game_stage ~= 'ongoing_game' then return end
|
|
||||||
|
|
||||||
if player.gui.left[ 'draw_gui_squad' ] then player.gui.left[ 'draw_gui_squad' ].destroy() end
|
if player.gui.left[ 'draw_gui_squad' ] then player.gui.left[ 'draw_gui_squad' ].destroy() end
|
||||||
|
|
||||||
|
if global.table_of_properties.game_stage ~= 'ongoing_game' then return end
|
||||||
|
|
||||||
local element_frame = player.gui.left.add{ type = 'frame', name = 'draw_gui_squad', direction = 'vertical' }
|
local element_frame = player.gui.left.add{ type = 'frame', name = 'draw_gui_squad', direction = 'vertical' }
|
||||||
|
|
||||||
element_frame.style.minimal_width = 50
|
element_frame.style.minimal_width = 50
|
||||||
|
Loading…
x
Reference in New Issue
Block a user