From 5dc02eb8b0e30a3ede3be7e341a2681e92cf3562 Mon Sep 17 00:00:00 2001 From: Max Hilbrunner Date: Tue, 26 Oct 2021 08:44:50 +0200 Subject: Save all 64 bits of get_ticks_msec() in more cases --- core/object/undo_redo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/object/undo_redo.cpp') diff --git a/core/object/undo_redo.cpp b/core/object/undo_redo.cpp index 9c84c2add7..07006e7968 100644 --- a/core/object/undo_redo.cpp +++ b/core/object/undo_redo.cpp @@ -76,7 +76,7 @@ bool UndoRedo::_redo(bool p_execute) { } void UndoRedo::create_action(const String &p_name, MergeMode p_mode) { - uint32_t ticks = OS::get_singleton()->get_ticks_msec(); + uint64_t ticks = OS::get_singleton()->get_ticks_msec(); if (action_level == 0) { _discard_redo(); -- cgit v1.2.3