Merge pull request #4164 from Citadel-Station-13/upstream-merge-33127

[MIRROR] Fixes twohanded weapons showing outdated icons when equipped to the back
This commit is contained in:
deathride58
2017-11-29 03:29:17 +00:00
committed by GitHub
2 changed files with 2 additions and 0 deletions
+2
View File
@@ -41,6 +41,8 @@
else //something wrong
name = "[initial(name)]"
update_icon()
if(user.get_item_by_slot(slot_back) == src)
user.update_inv_back()
if(show_message)
if(iscyborg(user))
to_chat(user, "<span class='notice'>You free up your module.</span>")