mirror of
https://github.com/freekode/mod-reward-played-time-improved.git
synced 2026-01-13 00:28:34 +00:00
Update reward_system.cpp
{} fmt style is not working with PSendSysMessage at this time so we revert them back to %u for now
This commit is contained in:
@@ -45,7 +45,7 @@ public:
|
||||
|
||||
if (!result)
|
||||
{
|
||||
ChatHandler(player->GetSession()).PSendSysMessage("[Reward System] Better luck next time! Your roll was {}.", roll);
|
||||
ChatHandler(player->GetSession()).PSendSysMessage("[Reward System] Better luck next time! Your roll was %u.", roll);
|
||||
RewardTimer = initialTimer;
|
||||
return;
|
||||
}
|
||||
@@ -62,7 +62,7 @@ public:
|
||||
SendRewardToPlayer(player, pItem, quantity);
|
||||
} while (result->NextRow());
|
||||
|
||||
ChatHandler(player->GetSession()).PSendSysMessage("[Reward System] Congratulations you have won with a roll of {}", roll);
|
||||
ChatHandler(player->GetSession()).PSendSysMessage("[Reward System] Congratulations you have won with a roll of %u.", roll);
|
||||
|
||||
RewardTimer = initialTimer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user