if ((type != null) && (type.lastUpdate == 0)) {
if ((type != null) && (type.lastUpdate == -1)) {
    private TypeInfo getPrototypeInfo(String protoName) {        if (protoName == null) {            return null;        }        TypeInfo type = (TypeInfo) prototypes.get(protoName);        if ((type != null) && (type.lastUpdate == 0)) {            Prototype p = app.typemgr.getPrototype(protoName);            if (p != null) {                app.typemgr.updatePrototype(p);                if (p.getLastUpdate() > type.lastUpdate) {                    evaluatePrototype(p, type);                }                // set type.lastUpdate to 1 if it is 0 so we know we                // have initialized this prototype already, even if                // it is empty (i.e. doesn't contain any scripts/skins/actions)                if (type.lastUpdate == 0) {                    type.lastUpdate = 1;                }            }        }        return type;    }