Session tokens control player options for create / login

This commit is contained in:
2024-03-21 17:48:24 -05:00
parent 514d4ebf40
commit e0e6c30752
5 changed files with 44 additions and 21 deletions

View File

@ -52,9 +52,9 @@ local map = {
end
end
end,
mapExists = function(self, map)
local f = map:select("limit 1")
if not f[1] then
mapExists = function(self, map, game)
local f = map:find({game_ref = game})
if not f then
return false
else
return true