mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-28 20:32:18 -05:00
fix rupee messages (#4392)
This commit is contained in:
parent
cd8d40466a
commit
4ba5384810
@ -2181,7 +2181,7 @@ void CreateRupeeMessages() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
CustomMessage Randomizer::GetRupeeMessage(u16 rupeeTextId) {
|
CustomMessage Randomizer::GetRupeeMessage(u16 rupeeTextId) {
|
||||||
CustomMessage messageEntry = CustomMessageManager::Instance->RetrieveMessage(Randomizer::rupeeMessageTableID, rupeeTextId);
|
CustomMessage messageEntry = CustomMessageManager::Instance->RetrieveMessage(Randomizer::rupeeMessageTableID, rupeeTextId, MF_AUTO_FORMAT);
|
||||||
messageEntry.Replace("[[rupee]]", CustomMessage(RandomElement(englishRupeeNames),
|
messageEntry.Replace("[[rupee]]", CustomMessage(RandomElement(englishRupeeNames),
|
||||||
RandomElement(germanRupeeNames),
|
RandomElement(germanRupeeNames),
|
||||||
RandomElement(frenchRupeeNames)));
|
RandomElement(frenchRupeeNames)));
|
||||||
|
Loading…
Reference in New Issue
Block a user