aboutsummaryrefslogtreecommitdiff
path: root/src/network/packethandlers/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/packethandlers/server.cpp')
-rw-r--r--src/network/packethandlers/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/packethandlers/server.cpp b/src/network/packethandlers/server.cpp
index d9ba8c314..2deede0ca 100644
--- a/src/network/packethandlers/server.cpp
+++ b/src/network/packethandlers/server.cpp
@@ -922,7 +922,7 @@ void Server::handleCommand_Breath(NetworkPacket* pkt)
}
playersao->setBreath(breath);
- m_script->player_event(playersao,"breath_changed");
+ SendPlayerBreath(pkt->getPeerId());
}
void Server::handleCommand_Password(NetworkPacket* pkt)