515.1543+ compatibility

This commit is contained in:
ariaworld
2024-11-30 16:40:41 +01:00
parent e23b1f84fd
commit 77aa15c4c2
@@ -59,25 +59,23 @@ 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 == NAMEOF(src, realized_overlays))
if(var_name == "realized_overlays")
return FALSE
if(var_name == NAMEOF(src, realized_underlays))
if(var_name == "realized_underlays")
return FALSE
// Filtering out the stuff I know we don't care about
if(var_name == NAMEOF(src, x))
if(var_name == "x")
return FALSE
if(var_name == NAMEOF(src, y))
if(var_name == "y")
return FALSE
if(var_name == NAMEOF(src, z))
if(var_name == "z")
return FALSE
// Could make an argument for these but I think they will just confuse people, so yeeet
#ifndef SPACEMAN_DMM // Spaceman doesn't believe in contents on appearances, sorry lads
if(var_name == NAMEOF(src, contents))
if(var_name == "contents")
return FALSE
#endif
if(var_name == NAMEOF(src, loc))
if(var_name == "loc")
return FALSE
if(var_name == NAMEOF(src, vis_contents))
if(var_name == "vis_contents")
return FALSE
return ..()