Merge pull request #92584 from HolonProduction/autocompletion-assign-variant

Autocompletion: Fix type resolution when assigning variant
This commit is contained in:
Thaddeus Crews 2025-07-01 17:57:51 -05:00
commit ee5859b7ae
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
3 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,5 @@
[output]
include=[
; PackedScene
{"display": "instantiate(…)"},
]

View file

@ -0,0 +1,5 @@
var list: Array
func spawn_npc() -> void:
var scene: PackedScene = list.pick_random()
scene.