Skip to content

Commit

Permalink
vendor overlays fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Birdtalon committed Nov 24, 2023
1 parent 1b85e53 commit 67b3812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/vending/cm_vending.dm
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ IN_USE used for vending/denying
if(stat & NOPOWER || stat & TIPPED_OVER) //tipping off without breaking uses "_off" sprite
overlays += image(icon, "[icon_state]_off")
if(stat & MAINT) //if we require maintenance, then it is completely "_broken"
icon_state = "[initial(icon_state)]_broken"
overlays += image(icon, "[initial(icon_state)]_broken")
if(stat & IN_REPAIR) //if someone started repairs, they unscrewed "_panel"
overlays += image(icon, "[icon_state]_panel")

Expand Down

0 comments on commit 67b3812

Please sign in to comment.