fix key event + run callbacks more

This commit is contained in:
m
2023-12-17 15:21:26 -06:00
parent dde3449195
commit 1d2fccdf8b
3 changed files with 9 additions and 7 deletions

View File

@ -18,9 +18,6 @@ function canasktojoin(userid)
end
history[userid] = true
game:ontimeout(function()
history[userid] = nil
end, 15000)
return true
end
@ -206,6 +203,7 @@ function addrequest(request)
invite:registerEventHandler("end_invite", function()
close()
discord.respond(request.userid, discord.reply.ignore)
history[request.userid] = nil
end)
local bar = LUI.UIImage.new({