summaryrefslogtreecommitdiffstats
path: root/core/variant/variant_construct.cpp
diff options
context:
space:
mode:
authorlawnjelly <lawnjelly@gmail.com>2023-05-14 08:53:36 +0100
committerlawnjelly <lawnjelly@gmail.com>2023-06-12 11:14:58 +0100
commita3ef092f18842b369183f43772fc47830e2924ff (patch)
treed2ee6f911eb1fb814dd617cb13dd736fddefe280 /core/variant/variant_construct.cpp
parentdcd31a25b473e8c6049224e586418de0f1ecdbf3 (diff)
downloadredot-engine-a3ef092f18842b369183f43772fc47830e2924ff.tar.gz
Input - fix just pressed and released with short presses
Previously if an action was both pressed and released on the same tick or frame, `is_action_just_pressed()` would return false, resulting in missed input. This PR separately the timestamp for pressing and releasing so each can be tested independently.
Diffstat (limited to 'core/variant/variant_construct.cpp')
0 files changed, 0 insertions, 0 deletions