mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Don't deduct wager from the win in planes
This commit is contained in:
@@ -411,7 +411,7 @@ public class Planes : ICommand
|
|||||||
var newBalance = gambler.Balance - wager;
|
var newBalance = gambler.Balance - wager;
|
||||||
if (((counter % 13) - 3) % carrierCount == 0) //if you landed on the carrier
|
if (((counter % 13) - 3) % carrierCount == 0) //if you landed on the carrier
|
||||||
{
|
{
|
||||||
var win = plane.MultiTracker * wager - wager;
|
var win = plane.MultiTracker * wager;
|
||||||
newBalance = gambler.Balance + win;
|
newBalance = gambler.Balance + win;
|
||||||
planesDisplay = GetGameBoard(counter% 13 - 3, planesBoard, plane, carrierCount, noseUp);
|
planesDisplay = GetGameBoard(counter% 13 - 3, planesBoard, plane, carrierCount, noseUp);
|
||||||
await botInstance.KfClient.EditMessageAsync(msgId.ChatMessageId!.Value, planesDisplay);
|
await botInstance.KfClient.EditMessageAsync(msgId.ChatMessageId!.Value, planesDisplay);
|
||||||
|
|||||||
Reference in New Issue
Block a user