mirror of
https://github.com/love2d/love.git
synced 2026-08-20 04:30:09 +02:00
Fix initial return value of love.keyboard.isDown
This commit is contained in:
@@ -58,6 +58,7 @@ bool Keyboard::getConstant(const char *in, Key &out)
|
|||||||
{
|
{
|
||||||
stringToKey[text] = codepoint;
|
stringToKey[text] = codepoint;
|
||||||
out = (Key)codepoint;
|
out = (Key)codepoint;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user