You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Autocompletion: Fix type resolution when assigning variant
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
[output]
|
||||
include=[
|
||||
; PackedScene
|
||||
{"display": "instantiate(…)"},
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
var list: Array
|
||||
|
||||
func spawn_npc() -> void:
|
||||
var scene: PackedScene = list.pick_random()
|
||||
scene.➡
|
||||
Reference in New Issue
Block a user