Merge pull request #9202 from Trilbyspaceclone/patch-216

Ports "Fixes wallets #510" From KeplerStation
This commit is contained in:
nik707
2019-08-29 19:33:08 -05:00
committed by GitHub
+1 -1
View File
@@ -61,7 +61,7 @@
/obj/item/storage/wallet/update_icon()
var/new_state = "wallet"
if(front_id)
new_state = "wallet_[front_id.icon_state]"
new_state = "wallet_id"
if(new_state != icon_state) //avoid so many icon state changes.
icon_state = new_state