Skip to content

Patch Terraria.Main.rand into a property#155

Merged
SignatureBeef merged 2 commits intoSignatureBeef:upcomingfrom
sors89:upcoming
Jan 28, 2026
Merged

Patch Terraria.Main.rand into a property#155
SignatureBeef merged 2 commits intoSignatureBeef:upcomingfrom
sors89:upcoming

Conversation

@sors89
Copy link
Contributor

@sors89 sors89 commented Apr 18, 2025

No description provided.

@SignatureBeef
Copy link
Owner

Aiming to consider this for upcoming releases, any chance you can give a use case of what this is for?

@Arthri
Copy link
Contributor

Arthri commented Jan 28, 2026

As far as I know, this should fix Main.rand being null on threads that aren't the main thread, given that Main.rand is thread static

@SignatureBeef SignatureBeef merged commit c08e479 into SignatureBeef:upcoming Jan 28, 2026
5 of 7 checks passed
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.

3 participants