mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
@@ -291,7 +291,7 @@
|
|||||||
|
|
||||||
// Simple helper to face what you clicked on, in case it should be needed in more than one place
|
// Simple helper to face what you clicked on, in case it should be needed in more than one place
|
||||||
/mob/proc/face_atom(var/atom/A)
|
/mob/proc/face_atom(var/atom/A)
|
||||||
if( buckled || !A || !x || !y || !A.x || !A.y ) return
|
if( stat || buckled || !A || !x || !y || !A.x || !A.y ) return
|
||||||
var/dx = A.x - x
|
var/dx = A.x - x
|
||||||
var/dy = A.y - y
|
var/dy = A.y - y
|
||||||
if(!dx && !dy) return
|
if(!dx && !dy) return
|
||||||
|
|||||||
Reference in New Issue
Block a user