city의 officer를 general로 이동

This commit is contained in:
Hide_D committed 2020-04-18 03:57:58 +09:00
1 parent b8c28e0a89
commit 16f2c9fb42
98 files changed
+680 -889

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ class AllowRebellion extends Constraint{
}
$db = DB::db();
$lord = $db->queryFirstRow('SELECT no, killturn, npc FROM general WHERE nation = %i AND level = 12', $nationID);
$lord = $db->queryFirstRow('SELECT no, killturn, npc FROM general WHERE nation = %i AND officer_level = 12', $nationID);
if(!$lord){
throw new MustNotBeReachedException('군주가 없음');