GDScript formatting
Thanks, VS Code (:
This commit is contained in:
parent
1e100bee4d
commit
42490ddad9
@ -111,7 +111,6 @@ func _on_area_entered(area:Area3D) -> void:
|
||||
# The node may not teleport immediately if it's not heading TOWARDS the portal,
|
||||
# so we keep a reference to it until it teleports or leaves.
|
||||
# This also allows us to hide its portal clone after it leaves.
|
||||
|
||||
var root: Node3D = area.get_node(area.get_meta("teleportable_root"))
|
||||
|
||||
var crossing_node: Dictionary
|
||||
|
@ -105,7 +105,7 @@ func _ready() -> void:
|
||||
# Create the viewport when _ready if it's not destroyed when disabled.
|
||||
# This may potentially get rid of the initial lag when the viewport is first created at the cost of texture memory.
|
||||
if not destroy_disabled_viewport:
|
||||
_create_viewport()
|
||||
_createa_viewport()
|
||||
|
||||
get_viewport().connect("size_changed", _handle_resize)
|
||||
|
||||
|
@ -14,6 +14,7 @@ config/name="DP Konzultace"
|
||||
run/main_scene="uid://cim3ul77o0ipr"
|
||||
config/features=PackedStringArray("4.4", "Forward Plus")
|
||||
config/icon="res://icon.svg"
|
||||
config/tags=PackedStringArray("dp")
|
||||
|
||||
[display]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user