Fixes build.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2021-11-19 12:21:46 +01:00
parent c6d814e886
commit c27b87b01a
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ namespace CreatureLib::Battling {
_currentHealth = newHealth; _currentHealth = newHealth;
if (IsFainted() && damage > 0 && battle != nullptr) { if (IsFainted() && damage > 0 && battle != nullptr) {
OnFaint(nullptr); OnFaint(source);
} }
} }