mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
fixed a weird bug, to do with minus world
This commit is contained in:
@@ -16,6 +16,7 @@ func _ready() -> void:
|
||||
texture_changed.connect(update)
|
||||
|
||||
func update() -> void:
|
||||
print(name)
|
||||
var source = tile_map.tile_set.get_source(atlas_id)
|
||||
if source != null:
|
||||
source.texture = texture
|
||||
|
Reference in New Issue
Block a user