Fixed bug where new skins weren't read because updater checked for

scriptExtension instead of skinExtension.
This commit is contained in:
hns 2001-04-13 18:33:30 +00:00
parent e886594f30
commit 8b947c5d42

View file

@ -264,7 +264,7 @@ public class TypeManager implements Runnable {
String fn = list[i];
if (!proto.updatables.containsKey (fn)) {
if (fn.endsWith (app.templateExtension) || fn.endsWith (app.scriptExtension) ||
fn.endsWith (app.actionExtension) || fn.endsWith (app.scriptExtension) || "type.properties".equalsIgnoreCase (fn)) {
fn.endsWith (app.actionExtension) || fn.endsWith (app.skinExtension) || "type.properties".equalsIgnoreCase (fn)) {
needsUpdate = true;
updatables.add ("[new:"+proto.getName()+"/"+fn+"]");
}