Fix a crash and use nil instead of a string in certain places

This commit is contained in:
a-bad-dev 2026-02-19 18:39:24 -04:00
commit 2061af0645
3 changed files with 5 additions and 5 deletions

View file

@ -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