Skip to content

Commit

Permalink
1 line lightswitch fix (#11206)
Browse files Browse the repository at this point in the history
* me when

* lavaland too i guess
  • Loading branch information
Tsar-Salat authored Jul 18, 2024
1 parent 7073fd1 commit 9160a65
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 18 deletions.
22 changes: 6 additions & 16 deletions _maps/map_files/Mining/Lavaland.dmm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion code/game/machinery/lightswitch.dm
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light_switch, 26)
desc = "Used for building wall-mounted light switches."
icon_state = "lightswitch"
result_path = /obj/machinery/light_switch
pixel_shift = -26
pixel_shift = 26
2 changes: 1 addition & 1 deletion code/game/objects/items/wall_mounted.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

/obj/item/wallframe/proc/attach(turf/on_wall, mob/user)
if(result_path)
playsound(src.loc, 'sound/machines/click.ogg', 75, 1)
playsound(src.loc, 'sound/machines/click.ogg', 75, TRUE)
user.visible_message("[user.name] attaches [src] to the wall.",
"<span class='notice'>You attach [src] to the wall.</span>",
"<span class='italics'>You hear clicking.</span>")
Expand Down

0 comments on commit 9160a65

Please sign in to comment.