30s无响应放弃出手

This commit is contained in:
1
2025-10-07 08:39:18 +00:00
parent 3502f9a756
commit ac2b1101ef

View File

@@ -243,7 +243,7 @@ func (f *FightC) battleLoop() {
f.Round++ //回合数自增
actions := make(map[uint32]action.BattleActionI) // 每个玩家一条记录
timeout := time.After(60 * time.Second)
timeout := time.After(30 * time.Second)
for len(actions) < 2 {
select {