Skip to content

Commit

Permalink
[MIRROR] Fixes the check for borg limb repainting [MDB IGNORE] (#836)
Browse files Browse the repository at this point in the history
* Fixes the check for borg limb repainting (#79930)

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: Profakos <[email protected]>
  • Loading branch information
3 people authored Nov 27, 2023
1 parent 550d38c commit 2d89256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/items/crayons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@
part_image.overlays += image(icon = style_list_icons[skin_option], icon_state = "[limb.limb_id]_[limb.aux_zone]")
skins += list("[skin_option]" = part_image)
var/choice = show_radial_menu(user, src, skins, require_near = TRUE)
if(choice && (use_charges(user, 5, requires_full = FALSE) == 5))
if(choice && (use_charges(user, 5, requires_full = FALSE)))
playsound(user.loc, 'sound/effects/spray.ogg', 5, TRUE, 5)
limb.change_appearance(style_list_icons[choice], greyscale = FALSE)
return SECONDARY_ATTACK_CANCEL_ATTACK_CHAIN
Expand Down

0 comments on commit 2d89256

Please sign in to comment.