Mob looting fix and dungeon closure.
This commit is contained in:
@@ -205,8 +205,8 @@ func _take_item(slot_index: int):
|
||||
GameState.take_mob_loot_item(current_mob_id, slot_index)
|
||||
print("[MobLootUI] Taking item at index %d from mob %d" % [slot_index, current_mob_id])
|
||||
|
||||
# Clear slot locally (server will update inventory)
|
||||
_clear_slot(loot_slots[slot_index])
|
||||
# Don't clear locally - wait for server to send updated loot state
|
||||
# The server will send MOB_LOOT_STATE with remaining items
|
||||
|
||||
func _on_take_all():
|
||||
if current_mob_id < 0:
|
||||
|
||||
Reference in New Issue
Block a user