This commit is contained in:
INeedBots
2020-09-29 19:14:23 -06:00
parent 40ba9523b5
commit fc7a385a06
3 changed files with 62 additions and 6 deletions

View File

@ -16,18 +16,18 @@ doVersionCheck()
if (!isDefined(remoteVersion))
{
println("Error getting remote version of Bot Warfare.");
println("Error getting remote version of Bot Warfare.\n");
return false;
}
if (level.bw_VERSION != remoteVersion)
{
println("There is a new version of Bot Warfare!");
println("You are on version " + level.bw_VERSION + " but " + remoteVersion + " is available!");
println("There is a new version of Bot Warfare!\n");
println("You are on version " + level.bw_VERSION + " but " + remoteVersion + " is available!\n");
return false;
}
println("You are on the latest version of Bot Warfare!");
println("You are on the latest version of Bot Warfare!\n");
return true;
}