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
|
|
@ -15,7 +15,7 @@ core.register_chatcommand("start", {
|
|||
|
||||
local sucess = start_match(param)
|
||||
|
||||
if map_data == "nope :(" then
|
||||
if not map_data then
|
||||
return false, "-!- Map not found!"
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue