Skip to content
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

Bug fix for items being granted to all players when belt was destroyed #177

Merged
merged 3 commits into from
Apr 17, 2021

Conversation

Baldie-dev
Copy link
Contributor

This is a fix for the #173

When someone destroyed a belt with the item on it, that item would be granted to every player.

I have added very small transpiler to bypass it :)

Comment on lines 85 to 89
UnityEngine.Debug.Log("FOUND!");
for(int j = 0; j < 10; j++)
{
UnityEngine.Debug.Log($"{codes[i-7+j].opcode} - {codes[i - 7 + j].operand}");
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should remove logs here probably

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep

@hubastard hubastard merged commit dea551e into NebulaModTeam:master Apr 17, 2021
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.

If player remove belts, the items on the belts are added to all players.
2 participants