Updates wallets (#21531)

* wallet update wooo

* didnt want to do that

* undo accidental changes

* i have a problem

* i swear I can type comments well
This commit is contained in:
Contrabang
2023-07-07 13:26:07 +01:00
committed by GitHub
parent 0ac521e633
commit e212ca48ed
4 changed files with 36 additions and 83 deletions
+5
View File
@@ -251,6 +251,11 @@
S.handle_item_insertion(src)
return 1
S = M.get_item_by_slot(slot_wear_id)
if(istype(S) && S.can_be_inserted(src, 1)) //else we put in a wallet
S.handle_item_insertion(src)
return 1
S = M.get_item_by_slot(slot_belt)
if(istype(S) && S.can_be_inserted(src, 1)) //else we put in belt
S.handle_item_insertion(src)