1
0
forked from 0ad/0ad

Remove unneeded genericity

This was SVN commit r7712.
This commit is contained in:
Ykkrosh 2010-07-07 10:47:20 +00:00
parent 1eb64ebb26
commit 7a58980ad6

View File

@ -13,7 +13,7 @@ function getDisconnectReason(id)
function reportDisconnect(reason)
{
var reasontext = (typeof reason == 'number' ? getDisconnectReason(reason) : reason);
var reasontext = getDisconnectReason(reason);
messageBox(400, 200,
"Lost connection to the server.\n\nReason: " + reasontext + ".",