mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-26 14:36:16 +01:00
it compiles, that's better than it not compiling, right?
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
. = ..()
|
||||
if(!isatom(parent))
|
||||
return COMPONENT_INCOMPATIBLE
|
||||
RegisterSignal(parent, COMSIG_ATOM_ORBIT_BEGIN, .proc/on_start_orbit)
|
||||
RegisterSignal(parent, COMSIG_ATOM_ORBIT_END, .proc/on_end_orbit)
|
||||
RegisterSignal(parent, COMSIG_ATOM_ORBIT_BEGIN,PROC_REF(on_start_orbit))
|
||||
RegisterSignal(parent, COMSIG_ATOM_ORBIT_END,PROC_REF(on_end_orbit))
|
||||
|
||||
/datum/component/twitch_plays/Destroy(force, silent)
|
||||
for(var/i in players)
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
/datum/component/twitch_plays/proc/AttachPlayer(mob/dead/observer)
|
||||
players |= observer
|
||||
RegisterSignal(observer, COMSIG_PARENT_QDELETING, .proc/on_end_orbit)
|
||||
RegisterSignal(observer, COMSIG_PARENT_QDELETING,PROC_REF(on_end_orbit))
|
||||
|
||||
/datum/component/twitch_plays/proc/DetachPlayer(mob/dead/observer)
|
||||
players -= observer
|
||||
@@ -46,11 +46,11 @@
|
||||
. = ..()
|
||||
if(. & COMPONENT_INCOMPATIBLE)
|
||||
return
|
||||
RegisterSignal(parent, COMSIG_TWITCH_PLAYS_MOVEMENT_DATA, .proc/fetch_data)
|
||||
RegisterSignal(parent, COMSIG_TWITCH_PLAYS_MOVEMENT_DATA,PROC_REF(fetch_data))
|
||||
|
||||
/datum/component/twitch_plays/simple_movement/AttachPlayer(mob/dead/observer)
|
||||
. = ..()
|
||||
RegisterSignal(observer, COMSIG_MOVABLE_PRE_MOVE, .proc/pre_move)
|
||||
RegisterSignal(observer, COMSIG_MOVABLE_PRE_MOVE,PROC_REF(pre_move))
|
||||
|
||||
/datum/component/twitch_plays/simple_movement/DetachPlayer(mob/dead/observer)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user