Inventory
key_down(k)
..()
if(k == "d")
var/item/item = current_item()
if(item)
owner.unequip(item)
owner.drop_item(item)
item.Move(get_step(usr, usr.dir))
with the code above, when the usr presses the d key in the inventory, the music stops playing when the item is dropped to the turf.
Expected Results:
music still plays
Actual Results:
music stops playing
Does the problem occur:
Every time? Or how often? everytime
In other games? n/a
In other user accounts? n/a
When does the problem NOT occur?
when you comment the following
item.Move(get_step(usr, usr.dir))