From de2ee02b3b02c6a4797a83b0f3294def8c878a14 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Thu, 30 Oct 2025 09:38:39 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B0=80=EB=B3=80=ED=84=B4=20=EC=9E=90?= =?UTF-8?q?=EB=8F=99=ED=84=B4=20=20=EC=84=A4=EC=A0=95=20=EB=AC=B8=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/TurnExecutionHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/sammo/TurnExecutionHelper.php b/hwe/sammo/TurnExecutionHelper.php index 41861b2e..df623be3 100644 --- a/hwe/sammo/TurnExecutionHelper.php +++ b/hwe/sammo/TurnExecutionHelper.php @@ -364,7 +364,7 @@ class TurnExecutionHelper if (($autorun_user['limit_minutes'] ?? false) && $general->getNPCType() < 2 && $hasReservedTurn) { $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); }