mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-09 20:36:15 +00:00
Merge branch 'main' into main
This commit is contained in:
commit
34e3d9d1c7
2 changed files with 2 additions and 2 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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -133,7 +133,7 @@ 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 not map_data 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