Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli committed Apr 3, 2024
1 parent 14d9101 commit ed38a21
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions flixel/input/keyboard/FlxKeyboard.hx
Original file line number Diff line number Diff line change
Expand Up @@ -168,16 +168,16 @@ class FlxKeyboard extends FlxKeyManager<FlxKey, FlxKeyList>
* @param Record Array of data about key states.
*/
@:allow(flixel.system.replay.FlxReplay)
function playback(Record:Array<CodeValuePair>):Void
function playback(record:Array<CodeValuePair>):Void
{
var i:Int = 0;
var l:Int = Record.length;
var i = 0;
final len = record.length;

while (i < l)
while (i < len)
{
var o = Record[i++];
var o2 = getKey(o.code);
o2.current = o.value;
final keyRecord = record[i++];
final key = getKey(keyRecord.code);
key.current = keyRecord.value;
}
}
}
Expand Down

0 comments on commit ed38a21

Please sign in to comment.