diff --git a/code/modules/admin/view_variables/debug_variable_appearance.dm b/code/modules/admin/view_variables/debug_variable_appearance.dm index 8bc9979a7d..444fb39110 100644 --- a/code/modules/admin/view_variables/debug_variable_appearance.dm +++ b/code/modules/admin/view_variables/debug_variable_appearance.dm @@ -59,23 +59,33 @@ GLOBAL_DATUM_INIT(pluto, /atom/movable, new /atom/movable(null)) if(beloved.vars.Find(var_name)) // If datums have it, get out return FALSE // If it is one of the two args on /image, yeet (I am sorry) - if(var_name == "realized_overlays") + if(var_name == NAMEOF(src, realized_overlays)) return FALSE - if(var_name == "realized_underlays") + if(var_name == NAMEOF(src, realized_underlays)) return FALSE + +#if (MIN_COMPILER_VERSION >= 515 && MIN_COMPILER_BUILD >= 1643) +#warn X/Y/Z and contents are now fully unviewable on our supported versions, remove the below check +#endif + +// lummy removed these from the the MA/image type +#if (DM_VERSION <= 515 && DM_BUILD < 1643) // Filtering out the stuff I know we don't care about - if(var_name == "x") + if(var_name == NAMEOF(src, x)) return FALSE - if(var_name == "y") + if(var_name == NAMEOF(src, y)) return FALSE - if(var_name == "z") + if(var_name == NAMEOF(src, z)) return FALSE - // Could make an argument for these but I think they will just confuse people, so yeeet - if(var_name == "contents") + #ifndef SPACEMAN_DMM // Spaceman doesn't believe in contents on appearances, sorry lads + if(var_name == NAMEOF(src, contents)) return FALSE - if(var_name == "loc") + #endif + if(var_name == NAMEOF(src, loc)) return FALSE - if(var_name == "vis_contents") +#endif + // Could make an argument for this but I think they will just confuse people, so yeeet + if(var_name == NAMEOF(src, vis_contents)) return FALSE return ..()