mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-11 10:22:13 +00:00
fixes inventory equip preview
This commit is contained in:
@@ -218,7 +218,7 @@
|
|||||||
var/image/item_overlay = image(holding)
|
var/image/item_overlay = image(holding)
|
||||||
item_overlay.alpha = 92
|
item_overlay.alpha = 92
|
||||||
|
|
||||||
if(!holding.mob_can_equip(user, slot_id, disable_warning = TRUE, bypass_equip_delay_self = TRUE))
|
if(!holding.mob_can_equip(user, user, slot_id, disable_warning = TRUE, bypass_equip_delay_self = TRUE))
|
||||||
item_overlay.color = "#FF0000"
|
item_overlay.color = "#FF0000"
|
||||||
else
|
else
|
||||||
item_overlay.color = "#00ff00"
|
item_overlay.color = "#00ff00"
|
||||||
|
|||||||
Reference in New Issue
Block a user