ShiroSmith 4 年之前
父节点
当前提交
47e858acb0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hrt/prefab/Light.hx

+ 1 - 1
hrt/prefab/Light.hx

@@ -127,7 +127,7 @@ class Light extends Object3D {
 		if( obj.maxDist != null ) maxDist = obj.maxDist;
 		if( obj.minDist != null ) minDist = obj.minDist;
 		if( obj.autoShrink != null ) autoShrink = obj.autoShrink;
-		if( obj.debugDisplay =! null ) debugDisplay = obj.debugDisplay;
+		if( obj.debugDisplay != null ) debugDisplay = obj.debugDisplay;
 
 		if( obj.shadows != null ) {
 			var sh : Dynamic = Reflect.copy(obj.shadows);