file wasnt saved whoops!

This commit is contained in:
Emagi 2024-04-12 19:54:15 -04:00
parent f58e08a922
commit e9a71e11ad

View file

@ -442,13 +442,13 @@ bool Commands::SetSpawnCommand(Client* client, Spawn* target, int8 type, const c
} }
case SPAWN_SET_VALUE_HP:{ case SPAWN_SET_VALUE_HP:{
sprintf(tmp, "%i", target->GetHP()); sprintf(tmp, "%i", target->GetHP());
target->SetTotalHPBase(val, send_update); target->SetTotalHPBase(val);
target->SetHP(val, send_update); target->SetHP(val, send_update);
break; break;
} }
case SPAWN_SET_VALUE_POWER:{ case SPAWN_SET_VALUE_POWER:{
sprintf(tmp, "%i", target->GetPower()); sprintf(tmp, "%i", target->GetPower());
target->SetTotalPowerBase(val, false); target->SetTotalPowerBase(val);
target->SetPower(val, send_update); target->SetPower(val, send_update);
break; break;
} }