From 80ff4a29bd06ae17ac5a2bdf9d8d2cad341db76c Mon Sep 17 00:00:00 2001 From: Tigercat2000 Date: Sat, 19 Mar 2016 16:14:58 -0700 Subject: [PATCH] Better check --- code/modules/shuttle/shuttle.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/shuttle/shuttle.dm b/code/modules/shuttle/shuttle.dm index 87d789c5be5..290f8e0fc75 100644 --- a/code/modules/shuttle/shuttle.dm +++ b/code/modules/shuttle/shuttle.dm @@ -602,7 +602,7 @@ M = D shuttleId = M.id break - else if(!possible_destinations && istext(possible_destinations)) //possible destinations should **not** always exist; so, if it's specifically set to null, don't make it exist + else if(!possible_destinations && shuttle_master) //possible destinations should **not** always exist; so, if it's specifically set to null, don't make it exist M = shuttle_master.getShuttle(shuttleId) if(M && !possible_destinations)