Skip to content

Fix direction in FurnitureChangeStateWhenStepOnLogic#127

Open
sdnjr wants to merge 1 commit intobillsonnn:v2from
sdnjr:fix-direction-in-some-furnis
Open

Fix direction in FurnitureChangeStateWhenStepOnLogic#127
sdnjr wants to merge 1 commit intobillsonnn:v2from
sdnjr:fix-direction-in-some-furnis

Conversation

@sdnjr
Copy link

@sdnjr sdnjr commented Sep 18, 2024

The direction was not changed because the return of the calculation was never an integer, so it could never reach the conditions that change the position of the furniture. This may not be the best way to fix this, but for all the furniture I've tested, it works perfectly.

Before
GIF55

After
GIF56

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