Remove broken DEV_VERSION warning.
This (before it was broken) was hardcoding upstream policy-specific conventions into the core engine.
This commit is contained in:
committed by
Matthias Mailänder
parent
9073249fe4
commit
178b6b658d
@@ -402,10 +402,6 @@ namespace OpenRA.Server
|
|||||||
SendOrderTo(newConn, "Message", TwoHumansRequiredText);
|
SendOrderTo(newConn, "Message", TwoHumansRequiredText);
|
||||||
else if (Map.Players.Players.Where(p => p.Value.Playable).All(p => !p.Value.AllowBots))
|
else if (Map.Players.Players.Where(p => p.Value.Playable).All(p => !p.Value.AllowBots))
|
||||||
SendOrderTo(newConn, "Message", "Bots have been disabled on this map.");
|
SendOrderTo(newConn, "Message", "Bots have been disabled on this map.");
|
||||||
|
|
||||||
if (handshake.Mod == "{DEV_VERSION}")
|
|
||||||
SendMessage("{0} is running an unversioned development build, ".F(client.Name) +
|
|
||||||
"and may desynchronize the game state if they have incompatible rules.");
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user