diff options
author | HybridDog <ovvv@web.de> | 2016-01-04 17:21:33 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-03-14 08:44:28 +0000 |
commit | c0b6986e3875e6f42682c78fd5db0080a7bae651 (patch) | |
tree | bc03d65ada090bb6538e55912be1398a2918b3d8 /src/script/lua_api/l_server.cpp | |
parent | 5a40a7dad8cbf46320c3b5dd1122808eb4919b62 (diff) | |
download | minetest-c0b6986e3875e6f42682c78fd5db0080a7bae651.tar.gz minetest-c0b6986e3875e6f42682c78fd5db0080a7bae651.tar.bz2 minetest-c0b6986e3875e6f42682c78fd5db0080a7bae651.zip |
Fix player teleportation bug whilst sneaking
Only set back position when sneaking if player wasn't teleported by adding and using a bool "got_teleported" to player
it fixes #2876
Diffstat (limited to 'src/script/lua_api/l_server.cpp')
0 files changed, 0 insertions, 0 deletions