mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Fixed cult airlocks runtiming when a noncultist touches it (#64106)
The airlock was supplying the `throw_at` proc with itself as the thrower. However, the thrower is always expected to be a mob, so this leads to runtimes.
This commit is contained in:
@@ -232,7 +232,7 @@
|
||||
assemblytype = /obj/structure/door_assembly/door_assembly_plasma
|
||||
material_flags = MATERIAL_EFFECTS
|
||||
material_modifier = 0.25
|
||||
|
||||
|
||||
/obj/machinery/door/airlock/plasma/Initialize(mapload)
|
||||
custom_materials = custom_materials ? custom_materials : list(/datum/material/plasma = 20000)
|
||||
. = ..()
|
||||
@@ -535,7 +535,7 @@
|
||||
SEND_SOUND(L, sound(pick('sound/hallucinations/turn_around1.ogg','sound/hallucinations/turn_around2.ogg'),0,1,50))
|
||||
flash_color(L, flash_color="#960000", flash_time=20)
|
||||
L.Paralyze(40)
|
||||
L.throw_at(throwtarget, 5, 1,src)
|
||||
L.throw_at(throwtarget, 5, 1)
|
||||
return FALSE
|
||||
|
||||
/obj/machinery/door/airlock/cult/proc/conceal()
|
||||
|
||||
Reference in New Issue
Block a user