without the prints
This commit is contained in:
parent
8b434b0178
commit
ce235642b4
@ -12,10 +12,8 @@ commands:Add('map',{},'get map info', function(t)
|
|||||||
if not game then
|
if not game then
|
||||||
local str = table.concat(args,' ')
|
local str = table.concat(args,' ')
|
||||||
map = API.MAPS[1][str] or API.MAPS[2][str]
|
map = API.MAPS[1][str] or API.MAPS[2][str]
|
||||||
print('no game',str)
|
|
||||||
else
|
else
|
||||||
map = API.MAPS[game][table.concat(args,' ',2)]
|
map = API.MAPS[game][table.concat(args,' ',2)]
|
||||||
print(game,table.concat(args,' ',2))
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if not map then return message:reply('```No map found```') end
|
if not map then return message:reply('```No map found```') end
|
||||||
|
Loading…
Reference in New Issue
Block a user