Skip to content

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

Description

@supawiz6991

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions