decrease AFK trigger time

This commit is contained in:
whosit 2024-11-27 01:43:26 +03:00
parent 636d8a4220
commit 51ec90122b
2 changed files with 4 additions and 1 deletions

View File

@ -14,6 +14,10 @@ yl_snowball.GAME_TIMEOUT = 10
-- will be extended, but only up to this time limit
yl_snowball.PLAYER_SUCK_TIME = 30
-- Time in seconds after which non-moving person is considered AFK and
-- hits stop counting
yl_snowball.AFK_TIME = 45
local active_games = {}
local games_by_player = yl_snowball.games_by_player or {}

View File

@ -13,7 +13,6 @@ yl_snowball.COOLDOWN = 0.4 -- TODO make configurable
yl_snowball.SNOWBALL_SPEED = 17 -- 17 was good
yl_snowball.SNOWBALL_GRAVITY = -8 -- -8 was good
yl_snowball.AFK_TIME = 3*60
local player_last_throw_time = {}