1. Chris Klimas
  2. zoetrope

Commits

Chris Klimas  committed 61b3a58

Fix bad reference

  • Participants
  • Parent commits 917fe6c
  • Branches default

Comments (0)

Files changed (1)

File zoetrope/core/tween.lua

View file
  • Ignore whitespace
 		local found = false
 
 		for i, tween in ipairs(self.tweens) do
-			if tween.target == target and (t.property == property or
-			   (type(t.property) == 'table' and t.property[1] == property) or
+			if tween.target == target and (tween.property == property or
+			   (type(tween.property) == 'table' and tween.property[1] == property) or
 			   not property) then
 			   	found = true
 				tween.promise:fail('Tween stopped')