mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-13 05:26:05 +00:00
Another bugfix
This commit is contained in:
parent
9dfa4f8929
commit
43c0e6df7e
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ function place_map(map)
|
|||
for x = 1, map_data.size_x do -- preset the area to air to avoid any problems with preexisting maps
|
||||
for y = 1, map_data.size_y do
|
||||
for z = 1, map_data.size_z do
|
||||
core.set_node({x=x, y=y, z=z}, {name = "air"}) -- maybe switch to core.bulk_set_node()?
|
||||
core.set_node({x=x-1, y=y-1, z=z-1}, {name = "air"}) -- maybe switch to core.bulk_set_node()?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue