Browse Source

HemisphereLight: Use super in copy(). (#24060)

Michael Herzog 3 years ago
parent
commit
1b1098c22d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lights/HemisphereLight.js

+ 1 - 1
src/lights/HemisphereLight.js

@@ -19,7 +19,7 @@ class HemisphereLight extends Light {
 
 	copy( source ) {
 
-		Light.prototype.copy.call( this, source );
+		super.copy( source );
 
 		this.groundColor.copy( source.groundColor );