mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
fixes traps not adding connect_loc in base type (#59196)
This commit is contained in:
@@ -25,6 +25,11 @@
|
||||
spark_system.set_up(4,1,src)
|
||||
spark_system.attach(src)
|
||||
|
||||
var/static/list/loc_connections = list(
|
||||
COMSIG_ATOM_ENTERED = .proc/on_entered
|
||||
)
|
||||
AddElement(/datum/element/connect_loc, src, loc_connections)
|
||||
|
||||
if(!ignore_typecache)
|
||||
ignore_typecache = typecacheof(list(
|
||||
/obj/effect,
|
||||
@@ -108,10 +113,6 @@
|
||||
. = ..()
|
||||
time_between_triggers = 10
|
||||
flare_message = "<span class='warning'>[src] snaps shut!</span>"
|
||||
var/static/list/loc_connections = list(
|
||||
COMSIG_ATOM_ENTERED = .proc/on_entered,
|
||||
)
|
||||
AddElement(/datum/element/connect_loc, src, loc_connections)
|
||||
|
||||
/obj/structure/trap/stun/hunter/on_entered(datum/source, atom/movable/AM)
|
||||
if(isliving(AM))
|
||||
|
||||
Reference in New Issue
Block a user