Fix textinput key repeat not working in 0.8.0

This commit is contained in:
Kenny Shields 2014-01-10 14:36:32 -05:00
parent baa483b4ba
commit 7f627a2eb6

View File

@ -857,7 +857,9 @@ function newobject:RunKey(key, unicode, is_text)
end
end
self.unicode = 0
if love._version == "0.9.0" then
self.unicode = 0
end
local curtext = self:GetText()
if ontextchanged and initialtext ~= curtext then