30s无响应放弃出手
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user