From 4fea01667d855ff409174398dca7d8abfa0dc44f Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 23 May 2025 15:38:36 -0400 Subject: [PATCH] replace GetName with GetTag --- zscript/HDBulletLib/Ammunition/LessLethalShells.zsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zscript/HDBulletLib/Ammunition/LessLethalShells.zsc b/zscript/HDBulletLib/Ammunition/LessLethalShells.zsc index 701029c..20a361e 100644 --- a/zscript/HDBulletLib/Ammunition/LessLethalShells.zsc +++ b/zscript/HDBulletLib/Ammunition/LessLethalShells.zsc @@ -240,7 +240,7 @@ class HDB_00Rubber:HDBulletActor{ if(penshell<=0)penshell=0; else penshell*=1.-frandom(0,hitangle*0.004); - if(hd_debug)A_Log("Armour: "..pen.." -"..penshell.." = "..pen-penshell.." "..hdmath.getname(hitactor)); + if(hd_debug)A_Log("Armour: "..pen.." -"..penshell.." = "..pen-penshell.." "..hitactor.gettag()); //apply final armour pen-=penshell; @@ -472,4 +472,4 @@ class HDB_00Rubber:HDBulletActor{ return; } } -} \ No newline at end of file +}