vgstation-coders / vgstation13

Butts
GNU General Public License v3.0
260 stars 541 forks source link

Shuttle datum code cleanup #36651

Open SECBATON-GRIFFON opened 3 weeks ago

SECBATON-GRIFFON commented 3 weeks ago

[administration][bugfix]

What this does

makes this not rely on so many global vars init ing it from the start, makes it more vareditable makes shuttle datums only get created if they have an associated control computer or docking port, to save on unnecessary ones being created in what was once said global vars stops the admin log reporting errors for shuttles that shouldn't even be in the round like the bagel ferry on box, or vaults that haven't loaded in

How it was tested

obsing as ghost, sending mining shuttle back and forth, checking world log, calling vox raider midround ruleset and sending shuttle back and forth, spawning the broke ufo vault and activating the shuttle control console, calling blob ruleset and causing a shuttle lockdown, then destroying the blob to lift it

Changelog

:cl: