From 33d7c3cc50ad90fb97cebf19dd533104515f27e5 Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Thu, 21 Mar 2024 18:57:31 -0700 Subject: [PATCH] NSMonster: change error() to NSError() to aid debugging. --- src/shared/NSMonster.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/NSMonster.qc b/src/shared/NSMonster.qc index a3adada1..1ea134e8 100644 --- a/src/shared/NSMonster.qc +++ b/src/shared/NSMonster.qc @@ -1180,7 +1180,7 @@ NSMonster::FreeState(void) NSMonsterLog("Killing %S", m_strSequenceKillTarget); findKT.Destroy(); } else { - error("Could not remove scripted killtarget!\n"); + NSError("Could not remove %S!", m_strSequenceKillTarget); } m_strSequenceKillTarget = __NULL__;