mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Add new lints (#49751)
Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
This commit is contained in:
co-authored by
Jordan Brown
parent
e0fd306c27
commit
beca456c0f
@@ -17,7 +17,7 @@
|
||||
return ELEMENT_INCOMPATIBLE
|
||||
|
||||
var/mob/living/carbon/C = target
|
||||
var/was_lying = (C.lying != 0) // is our spessmen sideways? the eternal question..
|
||||
var/was_lying = !(C.mobility_flags & MOBILITY_STAND)
|
||||
addtimer(CALLBACK(src, .proc/Detach, C, was_lying, reverse), duration)
|
||||
|
||||
if(reverse)
|
||||
@@ -28,7 +28,7 @@
|
||||
/datum/element/squish/Detach(mob/living/carbon/C, was_lying, reverse)
|
||||
. = ..()
|
||||
if(istype(C))
|
||||
var/is_lying = (C.lying != 0)
|
||||
var/is_lying = !(C.mobility_flags & MOBILITY_STAND)
|
||||
|
||||
if(reverse)
|
||||
is_lying = !is_lying
|
||||
|
||||
Reference in New Issue
Block a user