Skip to content

Fix occasional $NaN scores after final wager#8

Open
GiantFrog wants to merge 1 commit into
mvbattista:masterfrom
GiantFrog:patch-1
Open

Fix occasional $NaN scores after final wager#8
GiantFrog wants to merge 1 commit into
mvbattista:masterfrom
GiantFrog:patch-1

Conversation

@GiantFrog

Copy link
Copy Markdown

If a player enters a wager starting with a $, they lose ALL their money!! This stops that by discarding letters and symbols in the final wager that aren't a period.

Tested real quick by overriding this line on my own server and it seems to work as I intended.

If a player enters a wager starting with a $, they no longer lose all their money!
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