Fix "ghost stacks" created when a player clicks an item on the ground:
authorNovatux <nathanael.courant@laposte.net>
Tue, 18 Mar 2014 19:02:18 +0000 (20:02 +0100)
committerNovatux <nathanael.courant@laposte.net>
Sat, 22 Mar 2014 17:15:33 +0000 (18:15 +0100)
commit936c6f577ad70c9a467eaed58233e737671375df
tree567a52a4bab1082224aab46862c4ff37f337b89c
parent5fefc4bbf6380960f11f0b125fc51b6efdc19e2e
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
builtin/item_entity.lua