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

This commit is contained in:
Mike Primm 2011-09-08 10:07:30 +08:00 committed by mikeprimm
parent 6181aa8ba9
commit 91bc59d7f8

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);