mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-05 06:50:04 +00:00
Fix nano logic in goo damage running without a nano out
This commit is contained in:
parent
88d904e302
commit
856a90abcf
@ -882,7 +882,7 @@ void MobManager::dealGooDamage(CNSocket *sock, int amount) {
|
||||
plr->HP -= amount;
|
||||
}
|
||||
|
||||
if (plr->activeNano != -1) {
|
||||
if (plr->activeNano != 0) {
|
||||
dmg->iStamina = plr->Nanos[plr->activeNano].iStamina;
|
||||
|
||||
if (plr->Nanos[plr->activeNano].iStamina <= 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user