Fix nano logic in goo damage running without a nano out

This commit is contained in:
Gent S 2020-12-04 11:59:53 -05:00
parent 88d904e302
commit 856a90abcf

View File

@ -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) {