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

/givecash(all) can give negative cash and cause player's total cash to go negative #14385

Closed
MustaphaTR opened this Issue Nov 19, 2017 · 2 comments

Comments

Projects
None yet
4 participants
@MustaphaTR
Member

MustaphaTR commented Nov 19, 2017

Taking cash is nice, it is not the real issue. But if we try to remove more cash than player has, it should end up at 0, not fall to negatives.
resim

@GSonderling

This comment has been minimized.

Show comment
Hide comment
@GSonderling

GSonderling Nov 24, 2017

Contributor

Seems very straightforward. The question is, if there is really no use for negative cash.

I can't think of any, but it still might be worth it to ask.

Edit: Ok, if nobody wants it, I will submit PR.

Contributor

GSonderling commented Nov 24, 2017

Seems very straightforward. The question is, if there is really no use for negative cash.

I can't think of any, but it still might be worth it to ask.

Edit: Ok, if nobody wants it, I will submit PR.

@reaperrr

This comment has been minimized.

Show comment
Hide comment
@reaperrr

reaperrr May 30, 2018

Contributor

Fixed in ^.

Contributor

reaperrr commented May 30, 2018

Fixed in ^.

@reaperrr reaperrr closed this May 30, 2018

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