fix: 가변턴 자동턴 설정 문제
This commit is contained in:
@@ -364,7 +364,7 @@ class TurnExecutionHelper
|
|||||||
|
|
||||||
if (($autorun_user['limit_minutes'] ?? false) && $general->getNPCType() < 2 && $hasReservedTurn) {
|
if (($autorun_user['limit_minutes'] ?? false) && $general->getNPCType() < 2 && $hasReservedTurn) {
|
||||||
$autorun_limit = Util::joinYearMonth($year, $month);
|
$autorun_limit = Util::joinYearMonth($year, $month);
|
||||||
$autorun_limit += intdiv($autorun_user['limit_minutes'], $turnterm);
|
$autorun_limit += intdiv($autorun_user['limit_minutes'], abs($turnterm));
|
||||||
|
|
||||||
$general->setAuxVar('autorun_limit', $autorun_limit);
|
$general->setAuxVar('autorun_limit', $autorun_limit);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user