From b7eeaa75306ef532f530c9c6fca5a59405b9832f Mon Sep 17 00:00:00 2001 From: Vladisvell <73733747+Vladisvell@users.noreply.github.com> Date: Sat, 22 Jun 2024 23:50:40 +0500 Subject: [PATCH] bugfix: Fixed compilation issues with testing flag enabled (#5267) --- code/controllers/subsystem/garbage.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/controllers/subsystem/garbage.dm b/code/controllers/subsystem/garbage.dm index 6dc93477977..b06d6c8f9d9 100644 --- a/code/controllers/subsystem/garbage.dm +++ b/code/controllers/subsystem/garbage.dm @@ -338,7 +338,7 @@ SUBSYSTEM_DEF(garbage) // indicates the objects Destroy() does not respect force #ifdef TESTING if(!trash.no_respect_force) - testing("WARNING: [D.type] has been force deleted, but is \ + testing("WARNING: [to_delete.type] has been force deleted, but is \ returning an immortal QDEL_HINT, indicating it does \ not respect the force flag for qdel(). It has been \ placed in the queue, further instances of this type \ @@ -361,7 +361,7 @@ SUBSYSTEM_DEF(garbage) else #ifdef REFERENCE_TRACKING if(!trash.no_hint) - log_gc("WARNING: [D.type] is not returning a qdel hint. It is being placed in the queue. Further instances of this type will also be queued.") + log_gc("WARNING: [to_delete.type] is not returning a qdel hint. It is being placed in the queue. Further instances of this type will also be queued.") #endif trash.no_hint++ SSgarbage.Queue(to_delete)