summaryrefslogtreecommitdiff
path: root/src/environment.cpp
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2014-03-18 20:02:18 +0100
committerNovatux <nathanael.courant@laposte.net>2014-03-22 18:15:33 +0100
commit936c6f577ad70c9a467eaed58233e737671375df (patch)
tree567a52a4bab1082224aab46862c4ff37f337b89c /src/environment.cpp
parent5fefc4bbf6380960f11f0b125fc51b6efdc19e2e (diff)
downloadminetest-936c6f577ad70c9a467eaed58233e737671375df.tar.gz
minetest-936c6f577ad70c9a467eaed58233e737671375df.tar.bz2
minetest-936c6f577ad70c9a467eaed58233e737671375df.zip
Fix "ghost stacks" created when a player clicks an item on the ground:
since the object is not immediately removed, any other code may still think an object is there, therefore leading to item duplication. This code therefore sets the itemstring to '' after the object is picked up to avoid such issues
Diffstat (limited to 'src/environment.cpp')
0 files changed, 0 insertions, 0 deletions