couple improvements

This commit is contained in:
JHDev2006
2025-10-26 14:09:52 +00:00
parent c79cb7606b
commit 3466e7c4c2
10 changed files with 87 additions and 214 deletions

View File

@@ -3,11 +3,6 @@ extends Block
var ticking_down := false
func _ready() -> void:
if item == null: return
if item_amount == 10 and item.resource_path == "res://Scenes/Prefabs/Entities/Items/SpinningCoin.tscn" and is_instance_valid(Global.level_editor) == false:
Global.log_warning("Coin Brick Block is wrong! please report!: " + name)
func check_brick_empty() -> void:
$PSwitcher.enabled = item == null