mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-09 20:36:15 +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)
|
local sucess = start_match(param)
|
||||||
|
|
||||||
if map_data == "nope :(" then
|
if not map_data then
|
||||||
return false, "-!- Map not found!"
|
return false, "-!- Map not found!"
|
||||||
end
|
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
|
place_map(map or "forest") -- default to forest if no map is specified
|
||||||
|
|
||||||
if map_data == nil then
|
if not map_data then
|
||||||
return "nope :("
|
return nil
|
||||||
end
|
end
|
||||||
|
|
||||||
local map_loading_images = {}
|
local map_loading_images = {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue