浏览代码

protect fix.

Nicolas Cannasse 19 年之前
父节点
当前提交
67e7bbf784
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/flash/Boot.hx

+ 1 - 1
std/flash/Boot.hx

@@ -144,7 +144,7 @@ class Boot {
 			case Dynamic:
 				return true;
 			default:
-				if( o.__enum__ == cl )
+				if( o[__unprotect__("__enum__")] == cl )
 					return true;
 				return false;
 			}