forked from Mirrorlandia_minetest/minetest
Fix "error: ‘playerSAO’ was not declared"
Cause: 351cc2e79a7d78f7ec97ff9b33e4f0bad4042b19 A rebase issue missed a rename from playerSAO to playersao. Tested.
This commit is contained in:
parent
a5c9174bad
commit
94358a709b
@ -1107,7 +1107,7 @@ void Server::handleCommand_Damage(NetworkPacket* pkt)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (g_settings->getBool("enable_damage")) {
|
if (g_settings->getBool("enable_damage")) {
|
||||||
if (playerSAO->isDead()) {
|
if (playersao->isDead()) {
|
||||||
verbosestream << "Server::ProcessData(): Info: "
|
verbosestream << "Server::ProcessData(): Info: "
|
||||||
"Ignoring damage as player " << player->getName()
|
"Ignoring damage as player " << player->getName()
|
||||||
<< " is already dead." << std::endl;
|
<< " is already dead." << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user