1
0
forked from 0ad/0ad

fixes a typo in 3c56638e8b, spotted by sandarac

This was SVN commit r19113.
This commit is contained in:
mimo 2017-01-05 18:00:53 +00:00
parent 3c8fc4f263
commit 1a038b1735

View File

@ -67,7 +67,7 @@ m.chatLaunchAttack = function(gameState, player, type)
{
Engine.PostCommand(PlayerID, {
"type": "aichat",
"message": "/allies " + pickRandom(this.launchAttackMessages[type === "HugeAttack" ? type : "other"]),
"message": "/allies " + pickRandom(this.launchAttackMessages[type === "HugeAttack" ? "hugeAttack" : "other"]),
"translateMessage": true,
"translateParameters": ["_player_"],
"parameters": { "_player_": player }