Skyrat-SS13 / Skyrat-tg

A Skyrat downstream of /tg/station SS13.
GNU Affero General Public License v3.0
121 stars 685 forks source link

[MIRROR] [NO GBP] Fixes hoverboard being able to be used in space. #28697

Closed SkyratBot closed 2 months ago

SkyratBot commented 3 months ago

Original PR: https://github.com/tgstation/tgstation/pull/84533

About The Pull Request

Apparently I've left out that isopenspaceturf(A) returns false on normal (not multi-z) space turfs because they're of a different path. This should fix the fact you can use hoverboards as a substitute jetpacks, which wasn't intended. You can still use them in space if there's lattice/catwalk underneath, or another kind of turf on the z-level below however.

Why It's Good For The Game

Unintended bit from the skateboard buff PR I had made months ago.

Changelog

:cl: fix: Hoverboards properly dysfunction in space without any kind of support underneath them. /:cl: