Phone ring changed + text fixes
This commit is contained in:
@@ -311,7 +311,7 @@ func stop_dragging():
|
||||
dragging_inspected = false
|
||||
if inspected is ItemObject:
|
||||
inspected.object_sprite.tractor_beam.emitting = false
|
||||
if inspected_inventory_slot is InventoryGuiItemMouseDetector:
|
||||
if inspected_inventory_slot is InventoryGuiItemMouseDetector: # over a slot
|
||||
var item_in_inspected_slot := GameInfo.game_data.player_data.inventory.get_item(inspected_inventory_slot.index)
|
||||
if item_in_inspected_slot: # there is an item in inspected slot
|
||||
if started_dragging_from_slot: # I started dragging from a slot
|
||||
@@ -347,6 +347,6 @@ func stop_dragging():
|
||||
inspected.queue_free()
|
||||
inspect(inspected_inventory_slot)
|
||||
AudioManager.play_sfx("PickUp")
|
||||
else: # just leave where it is
|
||||
player.just_dropped_item_objects.append(inspected)
|
||||
else: # over the ground -> just leave the dragged item where it is
|
||||
stop_inspect(inspected)
|
||||
started_dragging_from_slot = null
|
||||
|
||||
Reference in New Issue
Block a user