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

Arena not paying winner in 1v1 if player /ctf leave or relogs #2

Open
supawiz6991 opened this issue Jun 20, 2020 · 0 comments
Open

Comments

@supawiz6991
Copy link
Member

I've discovered a bug where in a 1v1 situation, if one player does /ctf leave or disconnects, the remaining player is deemed the winner, but they are not paid.

I added money=50 to the onLeave and repeated steps mentioned above. This results in a double payment message one for the 50 from on leave and another for 0 (not sure where this is coming from).

I tested this on Battlearena itsself as well as ArenaSpleef and ArenaPaintball and none of the three have this problem and pay out correctly.

The way I configured my arena, each entrant pays 25.
Winner gets poolmoney=1.0 and so in a 1v1 winner should get 50.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant