mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
Adds CI to prevent manual calls of update_icon_state, update_overlay, etc. (#27010)
* CI something something * last fix
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
to_chat(user, "<span class='notice'>You have very nearly saturated the contents of [src] with potassium.</span>")
|
||||
|
||||
SStgui.update_uis(src)
|
||||
update_icon_state()
|
||||
update_icon(UPDATE_ICON_STATE)
|
||||
return TRUE
|
||||
|
||||
if(istype(O, /obj/item/food/grown))
|
||||
@@ -110,7 +110,7 @@
|
||||
make_biomass(O)
|
||||
to_chat(user, "<span class='notice'>You put [O] in [src].</span>")
|
||||
SStgui.update_uis(src)
|
||||
update_icon_state()
|
||||
update_icon(UPDATE_ICON_STATE)
|
||||
return TRUE
|
||||
if(istype(O, /obj/item/reagent_containers))
|
||||
var/proportion = 0
|
||||
@@ -154,7 +154,7 @@
|
||||
to_chat(user, "<span class='notice'>[src] has been nearly filled with potash.</span>")
|
||||
|
||||
SStgui.update_uis(src)
|
||||
update_icon_state()
|
||||
update_icon(UPDATE_ICON_STATE)
|
||||
|
||||
return TRUE
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
|
||||
biomass -= conversion_amount + potash_saltpetre_conversion + potassium_saltpetre_conversion
|
||||
compost += conversion_amount
|
||||
update_icon_state()
|
||||
update_icon(UPDATE_ICON_STATE)
|
||||
SStgui.update_uis(src)
|
||||
|
||||
// Makes soil from compost
|
||||
@@ -209,7 +209,7 @@
|
||||
return
|
||||
new /obj/item/stack/sheet/soil(loc, amount)
|
||||
compost -= SOIL_COST * amount
|
||||
update_icon_state()
|
||||
update_icon(UPDATE_ICON_STATE)
|
||||
SStgui.update_uis(src)
|
||||
|
||||
/obj/machinery/compost_bin/attack_hand(mob/user)
|
||||
|
||||
@@ -451,7 +451,7 @@
|
||||
else
|
||||
core_gene.value = min(core_gene.value, genemod_var)
|
||||
|
||||
disk.update_name()
|
||||
disk.update_appearance(UPDATE_NAME)
|
||||
QDEL_NULL(seed)
|
||||
update_icon(UPDATE_OVERLAYS)
|
||||
update_genes()
|
||||
@@ -493,7 +493,7 @@
|
||||
var/datum/plant_gene/core/C = gene.Copy()
|
||||
disk.core_genes += C
|
||||
|
||||
disk.update_name()
|
||||
disk.update_appearance(UPDATE_NAME)
|
||||
QDEL_NULL(seed)
|
||||
update_icon(UPDATE_OVERLAYS)
|
||||
update_genes()
|
||||
|
||||
Reference in New Issue
Block a user