mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
Fixes invisible potted plants (#87373)
## About The Pull Request #87207 changed potted plants list setup but forgot to change init code to accommodate for it. Closes #87366 ## Changelog 🆑 fix: Fixed invisible potted plants /🆑
This commit is contained in:
@@ -95,8 +95,8 @@
|
||||
|
||||
//Handles randomizing the icon during initialize()
|
||||
/obj/item/kirbyplants/random/proc/randomize_base_icon_state()
|
||||
if(!random_plant_states)
|
||||
generate_states()
|
||||
if(isnull(random_plant_states))
|
||||
random_plant_states = generate_states()
|
||||
base_icon_state = pick(random_plant_states)
|
||||
if(!dead) //no need to update the icon if we're already dead.
|
||||
update_appearance(UPDATE_ICON)
|
||||
|
||||
Reference in New Issue
Block a user