mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user