diff src/scripts/graphics.lua @ 1039:f2da62fae3e7

Fix typo in PixelEffect:send() dispatcher when trying to send unsupported type
author vrld <vrld@vrld.org>
date Mon, 23 Apr 2012 19:11:04 +0200
parents 2454bee82ef1
children 86a44f2bc38f
line wrap: on
line diff
--- a/src/scripts/graphics.lua	Tue Apr 03 13:55:12 2012 +0200
+++ b/src/scripts/graphics.lua	Mon Apr 23 19:11:04 2012 +0200
@@ -1351,7 +1351,7 @@
 			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