Skip to content

Commit

Permalink
Merge pull request #165 from dounai2333/fix-ShowStatNotification
Browse files Browse the repository at this point in the history
Fixes ShowStatNotification function does nothing
  • Loading branch information
paulov-t authored Mar 7, 2024
2 parents e1be38d + 7fd55a2 commit 8e8021e
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Source/Coop/CoopPlayerStatisticsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,10 @@ public override void ExperienceGained(float experience)

public override void ShowStatNotification(LocalizationKey localizationKey1, LocalizationKey localizationKey2, int value)
{
if (value > 0)
{
NotificationManagerClass.DisplayNotification(new LocalizedNotification(localizationKey1, localizationKey2, value));
}
}

//public override void ShowStatNotification(LocalizationKey localizationKey1, LocalizationKey localizationKey2, int value)
//{
// if (value > 0)
// {
// NotificationManagerClass.DisplayNotification(new NotificationClass(localizationKey1, localizationKey2, value));
// }
//}
}
}

0 comments on commit 8e8021e

Please sign in to comment.