Closed bucket91 closed 1 month ago
Looks like this bug is coming from a missing duration argument in line 151 of src\gui\interface\emotes.py. As far as I can tell this would control the default duration of emotes, while there's an explicit check for 'sad_ani' which would have a duration of 30.
@sloukit, Do you know why the sad emote is set to be different here? And what is the desired default animation duration (in seconds is fine, I'll convert)?
btw, I might be also a good idea to change the magic number 30 to a global constant
hey @DangerousVanilla i was the one that made the sad emote have duration of 30 because of testing for leaving the bathhouse. This emote should be the disgusted emote which didnt exist at the time/still doesnt exist.
@luvdamuzik, thank you for the explanation! I was able to fix this issue anyway, just forgot to close it after the bug fix. There was just something missing a required parameter.
Describe the bug
Bug Description
When using an emote the game game crashes
Expected Behavior
Shouldn't Crash
Steps to Reproduce
https://github.com/user-attachments/assets/3c0fbc83-ece4-4fbe-bd22-ba700117097d
Additional Context
Add any other context about the problem here.
Version
0.1.0
Which aspect(s) of the project is this bug affecting?
game-gameplay
Screenshots
No response
Relevant log output
Code of Conduct