[i18n] Fix mist message (#6757)

fix mist message
This commit is contained in:
Fabi 2025-11-06 14:42:33 +01:00 committed by GitHub
parent 5c132f290a
commit 74783b1200
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -319,7 +319,11 @@ export class MistTag extends SerializableArenaTag {
cancelled.value = true;
if (!simulated) {
globalScene.phaseManager.queueMessage(i18next.t("arenaTag:mistApply"));
globalScene.phaseManager.queueMessage(
i18next.t("arenaTag:mistApply", {
pokemonNameWithAffix: getPokemonNameWithAffix(this.getSourcePokemon()),
}),
);
}
return true;