Phone ring changed + text fixes

This commit is contained in:
Altaezio
2026-07-28 12:56:55 +02:00
parent b9b7220a0d
commit 1a7fb2f421
7 changed files with 26 additions and 26 deletions
+3 -3
View File
@@ -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