Merge pull request #535 from Tsank35/main

Coin Heaven fix
This commit is contained in:
guzlad
2025-10-09 00:42:00 +02:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -13,6 +13,3 @@ func warp_back(player: Player) -> void:
await get_tree().create_timer(1, false).timeout
PipeArea.exiting_pipe_id = -1
Global.transition_to_scene(Level.vine_return_level)
func get_room_type() -> Global.Room:
return Global.Room.COIN_HEAVEN

View File

@@ -126,6 +126,9 @@ func update_theme() -> void:
if Global.current_campaign == "SMBANN":
theme_time = "Night"
ResourceSetterNew.cache.clear()
if self is CoinHeaven:
Global.current_room = Global.Room.COIN_HEAVEN
else:
Global.current_room = get_room_type()
Global.current_campaign = campaign
Global.level_theme = theme