meat_madness_redux/godot/assets/models/meat_creek_elevator.gd

9 lines
211 B
GDScript3
Raw Normal View History

2022-12-26 11:18:31 -07:00
extends Spatial
func _ready():
var _ignore = $elevator/meat_elevator_tracker/MeatElevatorTracker.connect("arrived", self, "reset_level")
func reset_level():
var _ignore = get_tree().reload_current_scene()