Migrate all commands to new lib

This commit is contained in:
Cooldude2606 committed 2024-11-19 22:36:52 +00:00
1 parent c9bf85835f
commit 4b6872c14c
103 files changed
+2415 -3694

No files matched your search

@@ -123,8 +123,8 @@ function Selection.is_selecting(player, selection_name)
end
--- Filter on_player_selected_area to this custom selection, appends the selection arguments
-- @tparam string selection_name The name of the selection to listen for
-- @tparam function handler The event handler
-- @param string selection_name The name of the selection to listen for
-- @param function handler The event handler
function Selection.on_selection(selection_name, handler)
Event.add(defines.events.on_player_selected_area, function(event)
local selection = selections[event.player_index]