Fix typo in PixelEffect:send() dispatcher when trying to send unsupported type

This commit is contained in:
vrld
2012-04-23 19:11:04 +02:00
parent d4c59d3508
commit 4370f6c9d6
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1351,7 +1351,7 @@ do
end
else
local t = type(value)
if t == "userdata" and value.type then t = valye.type end
if t == "userdata" and value.type then t = value.type end
error("Cannot send value (unsupported type: "..t..").")
end
end