Runtime in striketeam.dm holomap
Created by: JamieH
Description of issue
When enabling the holomap on a deathsqaud a runtime is caused.
Difference between expected and actual behavior
A runtime should not happen and the map should appear
Steps to reproduce
Become deathsqaud, enable holomap
Specific information for locating
Runtime in striketeam.dm,111: Cannot read null.z
proc name: update holomap (/obj/item/clothing/under/deathsquad/update_holomap)
Seems to be this code here
for(var/obj/item/clothing/under/deathsquad/D in deathsquad_uniforms)
var/mob_indicator = HOLOMAP_ERROR
var/turf/TD = get_turf(D)
if(D == src)
mob_indicator = HOLOMAP_YOU
else if((TD.z == T.z) && ishuman(D.loc))
Server revision
Latest
Issue bingo
Please check whatever applies. More checkboxes checked increase your chances of not being yelled at by every contributor.
-
Issue could be reproduced at least once -
Issue could be reproduced by different players -
Issue could be reproduced in multiple rounds -
Issue happened in a recent (less than 7 days ago) round -
Couldn't find an existing issue about this