Fix pause_mode
may not be converted correctly in .tscn files.
#76179
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes: #74845
A
pause_mode
of2
was not converted correctly.In Godot 3, the
pause_mode
of 2 equals thePAUSE_MODE_PROCESS
value.In Godot 4, the
pause_mode
PAUSE_MODE_PROCESS
was renamed toPROCESS_MODE_ALWAYS
and equals the number 3.The fix is therefore to convert the
pause_mode = 2
topause_mode = 3
(PAUSE_MODE_PROCESS
->PROCESS_MODE_ALWAYS
) in.tscn
files.