-
Notifications
You must be signed in to change notification settings - Fork 105
fix: Scale fix #571
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
fix: Scale fix #571
Conversation
|
I would recommend not modifying the player.Scale but instead adding FpcRole::Scale |
|
I concur, tbh I think we need something like Dictionaries to track player scales to re-create pre 14.1.1 behavior, but Bonjemus said he wanted a way to not have scale persist so we should just add an overload for that in the SetScale method, we could also add a GetScale(Player observer) method for devs to get a players scale / fake scale after setting it |
That would be a breaking change, I don't get what you mean. |
As aforementioned, maintaining the scale after a role change is sloppy and will lead to a lot of confusion/errors. |
Brother this PR is already a breaking change, my suggestion might be "sloppy and will lead to a lot of confusion/errors" but at least it would lead to non-breaking behavior with more features |
|
this update introduces a serious issue, where modifying Scale more than twice within a frame will cause the server to crash |
|
Yes, this is NW issue, yes, this was already talked in the message (read please) m, yes, some code (like in custom role) has been adjusted to avoid crashes. NW said it will be fixed next update. READ. |
This reverts commit b896a73. Because of NW making crash on Player
Description
Describe the changes
Read title.
What is the current behavior? (You can also link to an open issue here)
Not stonks.
What is the new behavior? (if this is a feature change)
Stonks.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Nah, I'd repair.
Other information:
I didn't fix SetFaceScale because of lazyness.
CustomRole has a delay because of an issue in 14.1.1 : https://discord.com/channels/330432627649544202/1274617943258566726/1384174712300765386
Types of changes
Submission checklist
Patches (if there are any changes related to Harmony patches)
Other