fix: execute engine updated
This commit is contained in:
@@ -422,7 +422,7 @@ class TurnExecutionHelper
|
|||||||
|
|
||||||
$date = TimeUtil::now(true);
|
$date = TimeUtil::now(true);
|
||||||
// 최종 처리 월턴의 다음 월턴시간 구함
|
// 최종 처리 월턴의 다음 월턴시간 구함
|
||||||
$lastExecuted = $gameStor->turntime;
|
//$lastExecuted = $gameStor->turntime;
|
||||||
$prevTurn = cutTurn($gameStor->turntime, $gameStor->turnterm);
|
$prevTurn = cutTurn($gameStor->turntime, $gameStor->turnterm);
|
||||||
$nextTurn = addTurn($prevTurn, $gameStor->turnterm);
|
$nextTurn = addTurn($prevTurn, $gameStor->turnterm);
|
||||||
|
|
||||||
@@ -455,9 +455,6 @@ class TurnExecutionHelper
|
|||||||
$gameStor->turntime = $currentTurn;
|
$gameStor->turntime = $currentTurn;
|
||||||
}
|
}
|
||||||
unlock();
|
unlock();
|
||||||
if($lastExecuted !== $currentTurn){
|
|
||||||
$executed = true;
|
|
||||||
}
|
|
||||||
return $gameStor->turntime;
|
return $gameStor->turntime;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -516,10 +513,6 @@ class TurnExecutionHelper
|
|||||||
$gameStor->resetCache();
|
$gameStor->resetCache();
|
||||||
unlock();
|
unlock();
|
||||||
|
|
||||||
if($lastExecuted !== $currentTurn){
|
|
||||||
$executed = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $turntime;
|
return $turntime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user