1
0
forked from 0ad/0ad

fix typo in petra debug outputs

This was SVN commit r17585.
This commit is contained in:
mimo 2016-01-01 17:41:49 +00:00
parent 9f9db45a03
commit 7c89cfb3ba

View File

@ -157,7 +157,7 @@ m.QueueManager.prototype.printQueues = function(gameState)
{
var qStr = "";
var q = this.queues[i];
if (q.queue.length > 0)
if (q.length() > 0)
{
API3.warn(i + ": ( with priority " + this.priorities[i] +" and accounts " + uneval(this.accounts[i]) +")");
API3.warn(" while maxAccountWanted(0.6) is " + uneval(q.maxAccountWanted(gameState, 0.6)));