mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-08 20:12:11 +00:00
Fix a crash and use nil instead of a string in certain places
This commit is contained in:
parent
d927dd70ab
commit
2061af0645
3 changed files with 5 additions and 5 deletions
|
|
@ -7,7 +7,7 @@ function place_map(map)
|
|||
if map_list[i] == map then
|
||||
break
|
||||
elseif i == #map_list then
|
||||
return "nope :("
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue