restoring this shit cause fuck it

This commit is contained in:
JHDev2006
2025-10-17 22:27:44 +01:00
parent 46508e55db
commit 4dce07b7c8
405 changed files with 131236 additions and 98455 deletions

View File

@@ -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