Merge pull request #14786 from Arturlang/fixes_float

Fixes float()
This commit is contained in:
Lin
2021-06-04 12:13:36 -05:00
committed by GitHub
+1 -1
View File
@@ -579,7 +579,7 @@
//TODO: Better floating
/atom/movable/proc/float(on, throw_override)
if(throwing || !throw_override)
if(throwing && !throw_override)
return
if(on && !(movement_type & FLOATING))
animate(src, pixel_y = 2, time = 10, loop = -1, flags = ANIMATION_RELATIVE)