Browse Source

Fix missing #if hscript in Configurator.hx

clandrin 4 years ago
parent
commit
d90e4502be
1 changed files with 2 additions and 0 deletions
  1. 2 0
      hrt/prefab/rfx/Configurator.hx

+ 2 - 0
hrt/prefab/rfx/Configurator.hx

@@ -129,9 +129,11 @@ class Configurator extends RendererFX {
 		return p;
 	}
 
+	#if hscript
 	function allowChanges( v : Bool ) {
 		interp.allowChanges = v;
 	}
+	#end
 
 	override function makeInstance(ctx:Context):Context {
 		for( v in vars )