Browse Source

[spline]fix non editor build

Clément Espeute 11 months ago
parent
commit
519514bce1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      hrt/prefab/l3d/Spline.hx

+ 2 - 0
hrt/prefab/l3d/Spline.hx

@@ -337,7 +337,9 @@ class Spline extends Object3D {
 	}
 
 	override function postMakeInstance() : Void {
+		#if editor
 		loading = false;
+		#end
 		updateInstance();
 	}