Fix message for version mismatch, and abort UI if it fails

This commit is contained in:
Mike Primm 2011-09-07 21:07:30 -05:00
parent 6de49f89d6
commit 402d7f9542

View File

@ -290,8 +290,9 @@ DynMap.prototype = {
if(dynmapversion != me.options.dynmapversion) {
me.alertbox
.text('Web files are not matched with plugin version: All files need to be same version (' + me.options.dynmapverion + ')')
.text('Web files are not matched with plugin version: All files need to be same version (' + me.options.dynmapversion + ')')
.show();
return;
}
me.selectMap(me.defaultworld.defaultmap);