diff options
author | Ner'zhul <nerzhul@users.noreply.github.com> | 2015-04-11 10:07:23 +0200 |
---|---|---|
committer | Ner'zhul <nerzhul@users.noreply.github.com> | 2015-04-11 10:07:23 +0200 |
commit | ce8a9ed94b7a3a4cbce04bee27bf8d4167ac6161 (patch) | |
tree | dfe8dcf7c310787e949fddc14a6da2fa167e1ad8 /src/script/lua_api/l_particles.h | |
parent | 0a413265cb7057b5303733dd32cf802a9ecf6105 (diff) | |
download | minetest-ce8a9ed94b7a3a4cbce04bee27bf8d4167ac6161.tar.gz minetest-ce8a9ed94b7a3a4cbce04bee27bf8d4167ac6161.tar.bz2 minetest-ce8a9ed94b7a3a4cbce04bee27bf8d4167ac6161.zip |
Fix a rare crash case un SendPlayerHP
If the player is disconnected while Lua API is doing a l_punch call, for example, the playersao is NULL and the server crash. Fix it.
Diffstat (limited to 'src/script/lua_api/l_particles.h')
0 files changed, 0 insertions, 0 deletions