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

This commit is contained in:
Deukhoofd committed 2021-11-19 12:21:46 +01:00
1 parent c6d814e886
commit c27b87b01a
1 file changed
+1 -1
+1 -1
View File
@@ -206,7 +206,7 @@ namespace CreatureLib::Battling {
_currentHealth = newHealth;
if (IsFainted() && damage > 0 && battle != nullptr) {
OnFaint(nullptr);
OnFaint(source);
}
}