From 9ef26ab039782830d26a1c99413907e0b98cd570 Mon Sep 17 00:00:00 2001 From: Marisa Kirisame Date: Thu, 3 Oct 2019 17:30:11 +0200 Subject: [PATCH] Beta 5 Hotfix 2: - Fix health pickup messages not being localized correctly. Fix also done in the DT side. --- zscript/uhealitems.zsc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zscript/uhealitems.zsc b/zscript/uhealitems.zsc index eccf989..6725ab6 100644 --- a/zscript/uhealitems.zsc +++ b/zscript/uhealitems.zsc @@ -10,7 +10,7 @@ Class Bandages : Health } override String PickupMessage() { - return String.Format("%s +%d",PickupMsg,Amount); + return String.Format("%s +%d",StringTable.Localize(PickupMsg),Amount); } States { @@ -32,7 +32,7 @@ Class UHealth : Health } override String PickupMessage() { - return String.Format("%s +%d",PickupMsg,Amount); + return String.Format("%s +%d",StringTable.Localize(PickupMsg),Amount); } States { @@ -55,7 +55,7 @@ Class NaliFruit : Health } override String PickupMessage() { - return String.Format("%s +%d",PickupMsg,Amount); + return String.Format("%s +%d",StringTable.Localize(PickupMsg),Amount); } override bool TryPickup( in out Actor toucher ) {