Skip to content

Commit

Permalink
Another door hotfix (#8352)
Browse files Browse the repository at this point in the history
* j

* h

* part 2

* e

* fix errors & warnings

* Update signaler.dm

* aaa

* clean up attackby

* fixes + rest of it

* Update blast_door.dm

* bruh

* fix everything

* Update door_control.dm

* s

* Update code/datums/autolathe/parts.dm

Co-authored-by: hyperioo <[email protected]>

* Update code/game/machinery/doors/blast_door.dm

Co-authored-by: hyperioo <[email protected]>

* Update code/modules/assembly/signaler.dm

* Update code/game/machinery/doors/blast_door.dm

* Update code/game/machinery/doors/blast_door.dm

Co-authored-by: hyperioo <[email protected]>

* Update code/game/machinery/doors/blast_door.dm

Co-authored-by: hyperioo <[email protected]>

* Update code/game/machinery/doors/blast_door.dm

Co-authored-by: hyperioo <[email protected]>

* Update code/modules/assembly/signaler.dm

Co-authored-by: hyperioo <[email protected]>

* Update code/modules/assembly/signaler.dm

Co-authored-by: hyperioo <[email protected]>

* Update code/modules/assembly/signaler.dm

Co-authored-by: hyperioo <[email protected]>

* aa

* Update blast_door.dm

* fix setting it too!

---------

Co-authored-by: hyperioo <[email protected]>
  • Loading branch information
MLGTASTICa and hyperioo authored Nov 4, 2023
1 parent 25a3ffe commit e257bff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions code/game/machinery/doors/blast_door.dm
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@


/obj/machinery/door/blast/receive_signal(datum/signal/signal, receive_method, receive_param)
if(!signal)
if(!signal || !electronics)
return
if(signal.encryption != electronics.wifi_id)
return
Expand Down Expand Up @@ -271,8 +271,11 @@
if(QUALITY_PULSING)
// detach ourselves from this proc.
spawn(0)
if(!electronics)
to_chat(user, SPAN_NOTICE("There are no electronics inside of \the [src]."))
return
var/input = input(user, "Insert a code for this blastdoor between 1 and 1000", "Blastdoor configuration", 1) as num
if(!Adjacent(user) || !panel_open)
if(!Adjacent(user) || !panel_open || !electronics)
return
input = clamp(input, 0, 1000)
electronics.wifi_id = input
Expand Down

0 comments on commit e257bff

Please sign in to comment.