mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-09 12:26:29 +00:00
Merge branch 'main' of https://github.com/IonicCheese/simple-shooter-game-fork
This commit is contained in:
commit
0119993d1a
2 changed files with 3 additions and 3 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
|
||||
|
||||
|
|
|
|||
|
|
@ -131,8 +131,8 @@ function start_match(map) -- Start the match
|
|||
|
||||
place_map(map or "forest") -- default to forest if no map is specified
|
||||
|
||||
if map_data == nil then
|
||||
return "nope :("
|
||||
if not map_data then
|
||||
return nil
|
||||
end
|
||||
|
||||
local map_loading_images = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue