Fix for bots database updates not running when invoked from world.exe [skip ci]

This commit is contained in:
Uleat 2020-03-30 16:45:50 -04:00
parent 99c1c826a8
commit 3a7908b1de

View File

@ -537,8 +537,11 @@ sub check_for_world_bootup_database_update {
if ($binary_database_version == $local_database_version && $ARGV[0] eq "ran_from_world") {
print "[Update] Database up to date...\n";
if (trim($db_version[2]) == 0) {
print "[Update] Continuing bootup\n";
exit;
}
}
else {
#::: We ran world - Database needs to update, lets backup and run updates and continue world bootup
if ($local_database_version < $binary_database_version && $ARGV[0] eq "ran_from_world") {