diff --git a/scripts/scr_ui_advisors/scr_ui_advisors.gml b/scripts/scr_ui_advisors/scr_ui_advisors.gml index 19430e42a5..1060c68349 100644 --- a/scripts/scr_ui_advisors/scr_ui_advisors.gml +++ b/scripts/scr_ui_advisors/scr_ui_advisors.gml @@ -434,10 +434,8 @@ function scr_ui_advisors() { fest_star = ""; fest_sid = 0; fest_wid = 0; - fest_planet = 0; - if (obj_ini.fleet_type != home_world) then fest_planet = -1; - if (obj_ini.fleet_type = ePlayerBase.home_world) then fest_planet = 1; + fest_planet = (obj_ini.fleet_type == ePlayerBase.home_world) ? 1 : -1; fest_lav = 0; fest_locals = 0;