From c995cc036e23a3fd33f956fcdda35bf04f727ce1 Mon Sep 17 00:00:00 2001 From: taukausanake Date: Thu, 23 Jun 2016 17:14:05 -0500 Subject: [PATCH] I don't want Tiger to bite my head off --- code/game/data_huds.dm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/code/game/data_huds.dm b/code/game/data_huds.dm index 131e889d590..679b4862d77 100644 --- a/code/game/data_huds.dm +++ b/code/game/data_huds.dm @@ -357,41 +357,41 @@ /obj/machinery/portable_atmospherics/hydroponics/proc/plant_hud_set_status() var/image/holder = hud_list[PLANT_STATUS_HUD] - if (!seed) + if(!seed) holder.icon_state = "" return - if (harvest) + if(harvest) holder.icon_state = "hudharvest" return - if (dead) + if(dead) holder.icon_state = "huddead" return holder.icon_state = "" /obj/machinery/portable_atmospherics/hydroponics/proc/plant_hud_set_health() var/image/holder = hud_list[PLANT_HEALTH_HUD] - if (!seed) + if(!seed) holder.icon_state = "" return holder.icon_state = "hudplanthealth[RoundPlantBar(health/seed.get_trait(TRAIT_ENDURANCE))]" /obj/machinery/portable_atmospherics/hydroponics/proc/plant_hud_set_toxin() var/image/holder = hud_list[PLANT_TOXIN_HUD] - if (toxins < 1) // You don't want to see these icons if the value is small + if(toxins < 1) // You don't want to see these icons if the value is small holder.icon_state = "" return holder.icon_state = "hudtoxin[RoundPlantBar(toxins/10)]" /obj/machinery/portable_atmospherics/hydroponics/proc/plant_hud_set_pest() var/image/holder = hud_list[PLANT_PEST_HUD] - if (pestlevel < 1) // You don't want to see these icons if the value is small + if(pestlevel < 1) // You don't want to see these icons if the value is small holder.icon_state = "" return holder.icon_state = "hudpest[RoundPlantBar(pestlevel/10)]" /obj/machinery/portable_atmospherics/hydroponics/proc/plant_hud_set_weed() var/image/holder = hud_list[PLANT_WEED_HUD] - if (weedlevel < 1) // You don't want to see these icons if the value is small + if(weedlevel < 1) // You don't want to see these icons if the value is small holder.icon_state = "" return holder.icon_state = "hudweed[RoundPlantBar(weedlevel/10)]" \ No newline at end of file