stops paper planes from spinning (#20916)

* stops paper planes from spinning

the comment on it says it's specifically to stop spinning but it fails to do that

* does what oranges says i think

i hope i did this right

* orange's fix again

this one might work better
This commit is contained in:
PKPenguin321
2016-10-17 12:44:20 -07:00
committed by phil235
parent 521dbbbabc
commit 5d040a87da
+2 -3
View File
@@ -87,9 +87,8 @@
add_fingerprint(user)
/obj/item/weapon/paperplane/throw_at(atom/target, range, speed, mob/thrower, spin=1, diagonals_first = 0) //prevent the paper plane from spinning
if(!..())
return
/obj/item/weapon/paperplane/throw_at(atom/target, range, speed, mob/thrower, spin=FALSE, diagonals_first = FALSE)
. = ..(target, range, speed, thrower, FALSE, diagonals_first)
/obj/item/weapon/paperplane/throw_impact(atom/hit_atom)
if(..() || !ishuman(hit_atom))//if the plane is caught or it hits a nonhuman