can save and load player loc/rot and held guns
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user