can save and load player loc/rot and held guns

This commit is contained in:
derek
2024-12-02 14:59:43 -06:00
parent 842cc7ecfd
commit eee708c7f1
9 changed files with 110 additions and 12 deletions

View File

@@ -190,6 +190,9 @@ func die():
get_tree().get_root().add_child(particlespawn)
drop_loot(loot_amount)
if SaveLoad.last_hit_path == str(get_path()):
SaveLoad.last_hit_path = null
SignalBus.emit_signal("enemy_killed")
queue_free()