Browse Source

Fix spelling error in error mesage in Animation.hx (#1111)

instanciate -> instantiate
TZer0 2 years ago
parent
commit
3f02d246a0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      h3d/anim/Animation.hx

+ 2 - 2
h3d/anim/Animation.hx

@@ -209,7 +209,7 @@ class Animation {
 
 	public function update(dt:Float) : Float {
 		if( !isInstance )
-			throw "You must instanciate this animation first";
+			throw "You must instantiate this animation first";
 
 		if( !isPlaying() )
 			return 0;
@@ -282,4 +282,4 @@ class Animation {
 		return name;
 	}
 
-}
+}