decrease AFK trigger time
This commit is contained in:
parent
636d8a4220
commit
51ec90122b
4
game.lua
4
game.lua
@ -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 {}
|
||||
|
@ -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 = {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user