Skip to content

Fix cash medals not displaying correctly to other players. #282

Open
v3921358 wants to merge 1 commit intoP0nk:masterfrom
v3921358:Cash-Medal-Fix
Open

Fix cash medals not displaying correctly to other players. #282
v3921358 wants to merge 1 commit intoP0nk:masterfrom
v3921358:Cash-Medal-Fix

Conversation

@v3921358
Copy link

@v3921358 v3921358 commented Oct 23, 2024

Description

In GMSv83, the medal slot is -49, so the cash medal slot should be -149. Since the byte type in Java can't handle this value, simply adjusting it to a short type will resolve the problem.

Checklist before requesting a review

  • [v ] I have performed a self-review of my code
  • [v ] I have tested my changes
  • I have added unit tests that prove my changes work

Screenshots

…ers.

In GMSv83, the medal slot is -49, so the cash medal slot should be -149. Since the byte type in Java can't handle this value, simply adjusting it to a short type will resolve the problem.
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