Browse Source

[spline]fix non editor build

Clément Espeute 11 tháng trước cách đây
mục cha
commit
519514bce1
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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();
 	}