Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizkiller96 committed Feb 10, 2018
1 parent c70f7ad commit 51cc211
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion WizBot.Core/Services/Impl/CurrencyService.cs
Expand Up @@ -38,7 +38,7 @@ private bool InternalChange(ulong userId, string userName, string discrim, strin
var result = uow.DiscordUsers.TryUpdateCurrencyState(userId, userName, discrim, avatar, amount);
if(result && gamble)
{
var t2 = GetCurrencyTransaction(userId, reason, -amount);
var t2 = GetCurrencyTransaction(_bot.Id, reason, -amount);
uow.CurrencyTransactions.Add(t2);
uow.DiscordUsers.TryUpdateCurrencyState(_bot.Id, _bot.Username, _bot.Discriminator, _bot.AvatarId, -amount, true);
}
Expand Down
1 change: 0 additions & 1 deletion WizBot.sln
Expand Up @@ -7,7 +7,6 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0B2F1537-4BF0-422B-A0DD-8F9CCEFB340F}"
ProjectSection(SolutionItems) = preProject
WizBot.iss = WizBot.iss
Performance1.psess = Performance1.psess
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WizBot", "src\WizBot\WizBot.csproj", "{45EC1473-C678-4857-A544-07DFE0D0B478}"
Expand Down

0 comments on commit 51cc211

Please sign in to comment.