From b67d43d237455c4886173cf2833ca1c2bc0c8f67 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Wed, 17 Jan 2018 21:15:44 -0500 Subject: [PATCH] POLARIS: Sanity check in plane_holder This was related to a bug we encountered. The bug doesn't affect you, but it makes sense to give this sanity check here too. --- code/modules/mob/mob_planes.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/mob/mob_planes.dm b/code/modules/mob/mob_planes.dm index 947619a2b28..9e4952ba269 100644 --- a/code/modules/mob/mob_planes.dm +++ b/code/modules/mob/mob_planes.dm @@ -7,6 +7,7 @@ var/list/plane_masters[VIS_COUNT] /datum/plane_holder/New(mob/this_guy) + ASSERT(ismob(this_guy)) my_mob = this_guy //It'd be nice to lazy init these but some of them are important to just EXIST. Like without ghost planemaster, you can see ghosts. Go figure.