mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-17 15:52:26 +08:00
重构网关服务器
This commit is contained in:
@@ -241,7 +241,7 @@ func (t *TickManager) onTickSecond(now int64) {
|
||||
|
||||
func (t *TickManager) onTick200MilliSecond(now int64) {
|
||||
// 耐力消耗
|
||||
for _, player := range USER_MANAGER.playerMap {
|
||||
for _, player := range USER_MANAGER.GetAllOnlineUserList() {
|
||||
GAME_MANAGER.SustainStaminaHandler(player)
|
||||
GAME_MANAGER.VehicleRestoreStaminaHandler(player)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user