fix most of the script errors and warnings, fixed a couple tiny bugs in the process :)
This commit is contained in:
parent
9435089f21
commit
72733db609
23 changed files with 55 additions and 63 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue