Skip to content

Commit

Permalink
[MIRROR] Fixes runtime when removing airlock electronics
Browse files Browse the repository at this point in the history
  • Loading branch information
wb13 authored and SuhEugene committed Sep 19, 2023
1 parent fd1384a commit e837222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/structures/door_assembly.dm
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,14 @@
return TRUE
electronics.dropInto(loc)
electronics.add_fingerprint(user)
electronics = null
state = ASSEMBLY_STATE_WIRED
update_state()
playsound(src, 'sound/items/Crowbar.ogg', 50, TRUE)
user.visible_message(
SPAN_NOTICE("\The [user] removes \the [src]'s [electronics.name] with \a [tool]."),
SPAN_NOTICE("You remove \the [src]'s [electronics.name] with \the [tool].")
)
electronics = null
return TRUE

// Material Stack - Add glass/plating
Expand Down

0 comments on commit e837222

Please sign in to comment.