Browse Source

protect fix.

Nicolas Cannasse 19 năm trước cách đây
mục cha
commit
67e7bbf784
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 			}