diff --git a/pets-lib/src/world/interaction/zone.rs b/pets-lib/src/world/interaction/zone.rs index ced9a058..67253984 100644 --- a/pets-lib/src/world/interaction/zone.rs +++ b/pets-lib/src/world/interaction/zone.rs @@ -85,7 +85,7 @@ impl InteractionZone { } fn tp_player_to_beacon(&self, target: &NodePath) { - let black = self.base().get_node_as::("%BeaconFade"); + let black = current_scene().get_node_as::("%BeaconFade"); fade_black(&black, true, TP_BEACON_BLACK_IN);