mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 23:48:11 +00:00
restoring this shit cause fuck it
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
class_name LevelEditorVisibleNode
|
||||
extends Node2D
|
||||
|
||||
func _enter_tree() -> void:
|
||||
hide()
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
hide()
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
hide()
|
||||
|
||||
func _ready() -> void:
|
||||
process_mode = Node.PROCESS_MODE_ALWAYS
|
||||
update()
|
||||
if Global.level_editor != null:
|
||||
Global.level_editor.editor_start.connect(update)
|
||||
Global.level_editor.level_start.connect(update)
|
||||
hide()
|
||||
|
||||
func update() -> void:
|
||||
visible = !LevelEditor.playing_level and Global.current_game_mode == Global.GameMode.LEVEL_EDITOR
|
||||
|
@@ -1 +1 @@
|
||||
uid://cpwloakvp672a
|
||||
uid://cpwloakvp672a
|
Reference in New Issue
Block a user