From a8bc98aa40cd0ad6e02b6d984458628ed66eb525 Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Mon, 28 Dec 2020 17:29:55 -0800 Subject: [PATCH] ok --- code/datums/components/twitch_plays.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/components/twitch_plays.dm b/code/datums/components/twitch_plays.dm index b25978d276..dc753c2fd6 100644 --- a/code/datums/components/twitch_plays.dm +++ b/code/datums/components/twitch_plays.dm @@ -10,7 +10,7 @@ if(!isatom(parent)) return COMPONENT_INCOMPATIBLE RegisterSignal(parent, COMSIG_ATOM_ORBIT_BEGIN, .proc/on_start_orbit) - RegisterSignal(parent, COMSIG_ATOM_ORBIT_END, .proc/on_stop_orbit) + RegisterSignal(parent, COMSIG_ATOM_ORBIT_END, .proc/on_end_orbit) /datum/component/twitch_plays/proc/on_start_orbit(datum/source, atom/movable/orbiter) if(!isobserver(orbiter)) @@ -61,7 +61,7 @@ if(allow_diagonal || !((dir - 1) & dir)) votes[source] = dir else // pick one or the other - votes[source] = prob(50) (dir & ~(dir - 1)) : (dir & (dir - 1)) + votes[source] = prob(50)? (dir & ~(dir - 1)) : (dir & (dir - 1)) /datum/component/twitch_plays/simple_movement/proc/fetch_data(datum/source, wipe_votes) if(votes.len)