mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-08 20:12:11 +00:00
remove unneeded arguments for remove_barrier(...)
This commit is contained in:
parent
728f68791c
commit
d927dd70ab
2 changed files with 3 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ function place_map(map)
|
|||
return map_data
|
||||
end
|
||||
|
||||
function remove_barrier(x, y, z) -- name and arguments kept for backwards compat
|
||||
function remove_barrier()
|
||||
for _, player in pairs(core.get_connected_players()) do
|
||||
local pos = player:get_pos()
|
||||
player:set_pos({x=pos.x, y=map_data.barrier_level - 3.5, z=pos.z})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue