mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
Fixes guns being unwielded by mousing over the inventory UI (#22712)
Fixes #22036 changes: - bugfix: "Fixed guns getting unwielded when mousing over UI elements." - bugfix: "Fixed mob_can_equip using M as mob, instead of mob/M. Also adds its parameters to all its children." https://github.com/user-attachments/assets/0f427609-3cfc-4c71-b817-44a8d2c6350d
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
if(item_to_equip.item_flags & ITEM_FLAG_NO_MOVE) //Cannot move ITEM_FLAG_NO_MOVE items from one inventory slot to another. Cannot do canremove here because then BSTs spawn naked.
|
||||
return FALSE
|
||||
|
||||
if(!item_to_equip.mob_can_equip(src, slot, disable_warning, bypass_blocked_check))
|
||||
if(!item_to_equip.mob_can_equip(src, slot, disable_warning, bypass_blocked_check, is_overlay_check = FALSE))
|
||||
if(delete_on_fail)
|
||||
qdel(item_to_equip)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user