Misc fixes

- Prevent players from falling through the barrier before the match starts
- Prevent the server from crashing if you try to start a non-existant map
This commit is contained in:
a-bad-dev 2026-02-06 18:58:11 -04:00
commit 2c09090a91
4 changed files with 61 additions and 32 deletions

View file

@ -13,7 +13,12 @@ core.register_chatcommand("start", {
return false, "-!- Match is already in progress!"
end
start_match(param)
local sucess = start_match(param)
if map_data == "nope :(" then
return false, "-!- Map not found!"
end
return true, "-!- Match started!"
end
})