From 3ebc44ea5a79df1554ea3d6448dfbcf638cd182c Mon Sep 17 00:00:00 2001 From: Hide_D Date: Mon, 22 May 2023 02:19:47 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20RaiseInvader=EC=9D=98=20=EC=A4=91?= =?UTF-8?q?=EC=B2=A9=20=ED=98=B8=EC=A4=84=20=EB=8C=80=EB=B9=84=20-=20isuni?= =?UTF-8?q?ted=20=EB=B3=80=EC=88=98=EB=A5=BC=20=EB=B9=A0=EB=A5=B4=EA=B2=8C?= =?UTF-8?q?=201=EB=A1=9C=20=EC=84=A4=EC=A0=95=20-=20=EB=A7=8C=EC=95=BD=20R?= =?UTF-8?q?aiseInavder=EB=A5=BC=20=EB=B9=A0=EB=A5=B4=EA=B2=8C=20=EB=91=90?= =?UTF-8?q?=EB=B2=88=20=ED=98=B8=EC=B6=9C=ED=95=98=EB=8D=94=EB=9D=BC?= =?UTF-8?q?=EB=8F=84=20isunited=20=EB=B3=80=EC=88=98=EB=A5=BC=20=EA=B2=80?= =?UTF-8?q?=EC=82=AC=ED=95=98=EA=B2=8C=20=ED=95=98=EC=97=AC=20=EB=8C=80?= =?UTF-8?q?=EC=9D=91=20=EA=B0=80=EB=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Event/Action/RaiseInvader.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hwe/sammo/Event/Action/RaiseInvader.php b/hwe/sammo/Event/Action/RaiseInvader.php index 11b73632..3c85b97c 100644 --- a/hwe/sammo/Event/Action/RaiseInvader.php +++ b/hwe/sammo/Event/Action/RaiseInvader.php @@ -93,6 +93,9 @@ class RaiseInvader extends \sammo\Event\Action public function run(array $env) { $db = DB::db(); + $gameStor = KVStorage::getStorage($db, 'game_env'); + $gameStor->setValue('isunited', 1); + $npcEachCount = $this->npcEachCount; /** @var \sammo\CityInitDetail[] */ @@ -260,8 +263,6 @@ class RaiseInvader extends \sammo\Event\Action 'secu' => $db->sqleval('secu_max'), ], true); - $gameStor = KVStorage::getStorage($db, 'game_env'); - $gameStor->setValue('isunited', 1); refreshNationStaticInfo(); $logger = new ActionLogger(0, 0, $year, $env['month']);