fix one-frame delay of calling cc

This commit is contained in:
2023-09-12 15:18:10 -06:00
parent 663446944c
commit a8714c925d
5 changed files with 14 additions and 10 deletions

View File

@@ -263,6 +263,9 @@
(skipMovie.update elapsed)
(return))
(when ccToCall
(ccToCall))
(doFor action nextFrameActions
(action))
(set nextFrameActions [])
@@ -329,6 +332,7 @@
(FlxG.cameras.add screenCamera)))
(preload
(set unwindWithTimerDelay false)
(.enableGamepadInput
(cast (director.shortcutHandler) kiss_flixel.FlxKeyShortcutHandler<Dynamic>)
[