Sites
This commit is contained in:
parent
bd16f01192
commit
6422ffb13c
13 changed files with 142 additions and 5 deletions
|
|
@ -14,7 +14,7 @@ func exit():
|
|||
func on_animation_finished(animation: StringName):
|
||||
if animation == machine.animation_prefix + "plant":
|
||||
|
||||
Session.spawn({"scene": active_bomb, "position": machine.player_camera.get_parent().global_position})
|
||||
Session.spawn({"scene": active_bomb, "position": machine.player_camera.get_parent().global_position,"plant": Session.get_site().name})
|
||||
|
||||
machine.ammo -= 1
|
||||
return_to_previous.emit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue