Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize DreamIcon.UpdateAnimation() #1572

Merged
merged 2 commits into from
Dec 27, 2023

Conversation

wixoaGit
Copy link
Member

Moved UpdateAnimation() from using DateTime.Now to IGameTiming.CurTime. This provides a decent speed boost since getting DateTime.Now thousands of times a frame is apparently slow.

@wixoaGit wixoaGit merged commit 2792c2d into OpenDreamProject:master Dec 27, 2023
6 checks passed
@wixoaGit wixoaGit deleted the dreamicon_gametiming branch December 27, 2023 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant