Beta 5 Hotfix 2:

- Fix health pickup messages not being localized correctly. Fix also done in the DT side.
This commit is contained in:
Marisa the Magician 2019-10-03 17:30:11 +02:00
commit 9ef26ab039

View file

@ -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 )
{