Skip to content

Commit

Permalink
fix beaconfade panic caused by room scene commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamby777 committed Jun 13, 2024
1 parent 569963a commit fb1cea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pets-lib/src/world/interaction/zone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl InteractionZone {
}

fn tp_player_to_beacon(&self, target: &NodePath) {
let black = self.base().get_node_as::<ColorRect>("%BeaconFade");
let black = current_scene().get_node_as::<ColorRect>("%BeaconFade");

fade_black(&black, true, TP_BEACON_BLACK_IN);

Expand Down

0 comments on commit fb1cea4

Please sign in to comment.