Fixes build.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
c6d814e886
commit
c27b87b01a
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue