Fix arena_lib editor callbacks (now with swapped arguments)
This commit is contained in:
parent
ea0d3f1595
commit
bfe0a069ec
@ -7,13 +7,13 @@ local function give_items() end
|
||||
local waypoints = {} -- KEY: player name; VALUE: {waypoints IDs}
|
||||
|
||||
|
||||
arena_lib.on_join_editor("block_league", function(p_name, arena)
|
||||
arena_lib.on_join_editor("block_league", function(arena, p_name)
|
||||
show_waypoints(p_name, arena)
|
||||
end)
|
||||
|
||||
|
||||
|
||||
arena_lib.on_leave_editor("block_league", function(p_name, arena)
|
||||
arena_lib.on_leave_editor("block_league", function(arena, p_name)
|
||||
remove_waypoints(p_name, arena)
|
||||
end)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user