mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix "error: ‘playerSAO’ was not declared"
Cause: 351cc2e79a
A rebase issue missed a rename from playerSAO to playersao.
Tested.
This commit is contained in:
parent
a5c9174bad
commit
94358a709b
1 changed files with 1 additions and 1 deletions
|
@ -1107,7 +1107,7 @@ void Server::handleCommand_Damage(NetworkPacket* pkt)
|
|||
}
|
||||
|
||||
if (g_settings->getBool("enable_damage")) {
|
||||
if (playerSAO->isDead()) {
|
||||
if (playersao->isDead()) {
|
||||
verbosestream << "Server::ProcessData(): Info: "
|
||||
"Ignoring damage as player " << player->getName()
|
||||
<< " is already dead." << std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue