diff --git a/hwe/b_currentCity.php b/hwe/b_currentCity.php index 8896c05b..8c37b978 100644 --- a/hwe/b_currentCity.php +++ b/hwe/b_currentCity.php @@ -282,6 +282,7 @@ for($j=0; $j < $gencount; $j++) { $generalsFormat[] = [ 'ourGeneral'=>$ourGeneral, + 'iconPath'=>GetImageURL($general['imgsvr']).'/'.$general['picture'], 'isNPC'=>$isNPC, 'wounded'=>$wounded, 'name'=>$name, diff --git a/hwe/templates/cityGeneral.php b/hwe/templates/cityGeneral.php index 7aa86c74..2cb6013d 100644 --- a/hwe/templates/cityGeneral.php +++ b/hwe/templates/cityGeneral.php @@ -20,7 +20,7 @@ data-general-nation="=$nation?>" data-general-nation-name="=$nationName?>" > -