Browse Source

Merge branch 'master' of https://github.com/HeapsIO/hide

trethaller 5 years ago
parent
commit
a17f36a4ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hide/comp/ScriptEditor.hx

+ 1 - 1
hide/comp/ScriptEditor.hx

@@ -122,7 +122,7 @@ class ScriptChecker {
 						for( o in s.all ) {
 							var id = o.id;
 							if( id == null || id == "" ) continue;
-							cl.fields.set(id, { name : id, params : [], t : kind, isPublic: true, complete : true });
+							cl.fields.set(id, { name : id, params : [], canWrite : false, t : kind, isPublic: true, complete : true });
 						}
 						checker.setGlobal(name, TInst(cl,[]));
 					}