From 7df890437da694a68ce3cd5c3184f43eb1ba65e9 Mon Sep 17 00:00:00 2001 From: Marisa Kirisame Date: Thu, 3 Oct 2019 17:29:34 +0200 Subject: [PATCH] Fixed health pickup messages not being localized correctly. --- zscript/healitems.zsc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zscript/healitems.zsc b/zscript/healitems.zsc index 1aa0eca..aae5996 100644 --- a/zscript/healitems.zsc +++ b/zscript/healitems.zsc @@ -15,7 +15,7 @@ Class UTHealthPack : Health } override String PickupMessage() { - return String.Format("%s +%d",PickupMsg,Amount); + return String.Format("%s +%d",StringTable.Localize(PickupMsg),Amount); } States { @@ -36,7 +36,7 @@ Class UTHealthBox : Health } override String PickupMessage() { - return String.Format("%s +%d",PickupMsg,Amount); + return String.Format("%s +%d",StringTable.Localize(PickupMsg),Amount); } States { @@ -58,7 +58,7 @@ Class UTMedBox : Health } override String PickupMessage() { - return String.Format("%s +%d",PickupMsg,Amount); + return String.Format("%s +%d",StringTable.Localize(PickupMsg),Amount); } States { @@ -83,7 +83,7 @@ Class UTHealthBonus : Health } override String PickupMessage() { - return String.Format("%s +%d",PickupMsg,Amount); + return String.Format("%s +%d",StringTable.Localize(PickupMsg),Amount); } States {