diff --git a/hwe/func_gamerule.php b/hwe/func_gamerule.php index 6622e207..39fad85f 100644 --- a/hwe/func_gamerule.php +++ b/hwe/func_gamerule.php @@ -144,7 +144,7 @@ function SetNationFront($nationNo) { $db = DB::db(); $enemyCities = $db->queryFirstColumn( 'SELECT city from city where nation IN - (SELECT you from diplomacy where me = %i and (state=0 or (state=1 and term<=3)))' + (SELECT you from diplomacy where me = %i and (state=0 or (state=1 and term<=5)))' , $nationNo ); if($enemyCities) {