fixes this (#20745)

This commit is contained in:
S34N
2023-04-16 21:13:35 +01:00
committed by GitHub
parent d5e66024c7
commit 8d8f488f2d
+2
View File
@@ -34,6 +34,8 @@
/obj/item/stack/Initialize(mapload, new_amount, merge = TRUE)
. = ..()
if(dynamic_icon_state) //If we have a dynamic icon state, we don't want item states to follow the same pattern.
item_state = initial(icon_state)
if(new_amount != null)
amount = new_amount
while(amount > max_amount)