mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 00:58:26 +01:00
[MIRROR] (code bounty) refactors all uses of Crossed() and Uncrossed() into signals sent to loc, tracked by connect_loc (#5524)
* (code bounty) refactors all uses of Crossed() and Uncrossed() into signals sent to loc, tracked by connect_loc * WHEW THAT WAS EASY * Update ammo.dm Co-authored-by: Kylerace <kylerlumpkin1@gmail.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
co-authored by
Kylerace
Gandalf
parent
6b1b9656f9
commit
5880be0168
@@ -65,7 +65,11 @@
|
||||
if(mode == RESONATOR_MODE_MATRIX)
|
||||
icon_state = "shield2"
|
||||
name = "resonance matrix"
|
||||
RegisterSignal(src, list(COMSIG_MOVABLE_CROSSED, COMSIG_ATOM_ENTERED), .proc/burst)
|
||||
RegisterSignal(src, COMSIG_ATOM_ENTERED, .proc/burst)
|
||||
var/static/list/loc_connections = list(
|
||||
COMSIG_ATOM_ENTERED = .proc/burst,
|
||||
)
|
||||
AddElement(/datum/element/connect_loc, src, loc_connections)
|
||||
. = ..()
|
||||
creator = set_creator
|
||||
res = set_resonator
|
||||
|
||||
Reference in New Issue
Block a user