Goonstation Forums
[Bug] The shuttle airlocks never bolted themselfs on cog2. - Printable Version

+- Goonstation Forums (https://forum.ss13.co)
+-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6)
+--- Forum: Patches (https://forum.ss13.co/forumdisplay.php?fid=30)
+---- Forum: Implemented (https://forum.ss13.co/forumdisplay.php?fid=31)
+---- Thread: [Bug] The shuttle airlocks never bolted themselfs on cog2. (/showthread.php?tid=6073)



[Bug] The shuttle airlocks never bolted themselfs on cog2. - Erik - 03-11-2016

The shuttle airlocks only bolted itself on cogmap1 due to the fact that cogmap2 uses "/obj/machinery/door/airlock/pyro/external" instead of "/obj/machinery/door/airlock/external" this patch adds a simple if/else into the shuttle controller that checks for the map setting.

Patch: https://gist.github.com/Chnkr/4e1e89e9f60724160eb3