Remove unneeded genericity
This was SVN commit r7712.
This commit is contained in:
parent
1eb64ebb26
commit
7a58980ad6
@ -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 + ".",
|
||||
|
Loading…
Reference in New Issue
Block a user