Skip to content

Commit

Permalink
ho
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGoesen committed Jan 11, 2024
1 parent 3983ee0 commit 3dfdc86
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/caravan/caravan-global-gui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,9 @@ gui_events[defines.events.on_gui_click]['click_caravan_.'] = function(event)
local element = event.element
local tags = element.tags
local caravan_data = global.caravans[tags.unit_number]
game.print('1')
if Caravan.validity_check(caravan_data) then
game.print('2')
Caravan.build_gui(player, caravan_data.entity)
end
game.print('3')

end

Caravan.events.on_close_global_gui = function(event)
Expand Down

0 comments on commit 3dfdc86

Please sign in to comment.