Skip to content

Conversation

@Vercix
Copy link
Contributor

@Vercix Vercix commented Dec 26, 2023

This pull request updates the example code snippets on the CPU Optimization and Common Engine Methods and Macros pages. get_ticks_usec() has been part of the Time singleton since 4.0.

This is a recreation of #8679 with a clean history.

I also double checked for other references in the docs to either get_ticks_usec or get_ticks_msec but I did not find any other errors.

@skyace65 skyace65 added bug area:manual Issues and PRs related to the Manual/Tutorials section of the documentation area:engine details Issues and PRs related to the Engine Details section of the documentation cherrypick:4.2 labels Dec 27, 2023
@skyace65 skyace65 merged commit 6ccfc42 into godotengine:master Dec 27, 2023
@skyace65
Copy link
Contributor

Thanks! And congrats on your first merged PR!

mhilbrunner pushed a commit that referenced this pull request Jan 25, 2024
Update OS to Time on pages containing OS.get_ticks_usec()
@mhilbrunner
Copy link
Member

Cherry-picked to 4.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:engine details Issues and PRs related to the Engine Details section of the documentation area:manual Issues and PRs related to the Manual/Tutorials section of the documentation bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants