fix most of the script errors and warnings, fixed a couple tiny bugs in the process :)

This commit is contained in:
Haze Weathers 2024-03-08 15:11:48 -05:00
parent 9435089f21
commit 72733db609
23 changed files with 55 additions and 63 deletions

View file

@ -4,6 +4,10 @@ extends Light2D
onready var viewport: Viewport = $Viewport
func _ready() -> void:
texture = viewport.get_texture()
func _process(delta: float) -> void:
var main_viewport = get_viewport()
if viewport.canvas_transform != main_viewport.canvas_transform: