diff options
author | sfan5 <sfan5@live.de> | 2020-12-23 22:03:49 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2020-12-24 13:44:54 +0100 |
commit | 74762470b2aa11a5271b846549ff14b86c1705d2 (patch) | |
tree | cf4fd29ba05a94395674ac6cd5b2eeb7bdac0ee1 /src/network | |
parent | 289425f6bd6cfe1f66218918d9d5bd1b9f89aa7c (diff) | |
download | minetest-74762470b2aa11a5271b846549ff14b86c1705d2.tar.gz minetest-74762470b2aa11a5271b846549ff14b86c1705d2.tar.bz2 minetest-74762470b2aa11a5271b846549ff14b86c1705d2.zip |
Fix some minor code issues all over the place
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/serverpackethandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index 3db4eb286..c636d01e1 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -316,7 +316,7 @@ void Server::handleCommand_Init2(NetworkPacket* pkt) // Send active objects { PlayerSAO *sao = getPlayerSAO(peer_id); - if (client && sao) + if (sao) SendActiveObjectRemoveAdd(client, sao); } |