File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -22,4 +22,4 @@ func call(argv = []):
22
22
return
23
23
24
24
# Execute call
25
- return self ._target .call_funcv (self ._get_args (argv ))
25
+ return self ._target .call (self ._get_args (argv ))
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ extends RefCounted
3
3
4
4
const Utils = preload ("./Utils.gd" )
5
5
const Callback = preload ("./Callback.gd" )
6
- const FuncRefCallback = preload ("./FuncRefCallback .gd" )
6
+ const CallableCallback = preload ("./CallableCallback .gd" )
7
7
const errors = preload ("../assets/translations/errors.en.gd" ).messages
8
8
9
9
@@ -76,8 +76,8 @@ func build():
76
76
print (errors ["qc.callback.canCreate.first_arg" ] % str (typeof (self ._target )))
77
77
return null
78
78
79
- if Utils . is_funcref ( self ._target ) :
80
- return FuncRefCallback .new (self ._target )
79
+ if self ._target is Callable :
80
+ return CallableCallback .new (self ._target )
81
81
82
82
if typeof (self ._name ) != TYPE_STRING :
83
83
print (errors ["qc.callback.canCreate.second_arg" ] % str (typeof (self ._name )))
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ static func _parse_commands(input):
143
143
# @returns Dictionary
144
144
static func _parse_command (rawCommand ):
145
145
var name = ''
146
- var arguments : Array [String ] = Array ()
146
+ var arguments : Array [String ] = []
147
147
148
148
var beginning = 0 # int
149
149
var openQuote # String|null
Original file line number Diff line number Diff line change 1
- <Project Sdk =" Godot.NET.Sdk/4.0.0-beta.16 " >
2
- <PropertyGroup >
3
- <TargetFramework >net6.0</TargetFramework >
4
- <RootNamespace >Democsharp</RootNamespace >
5
- </PropertyGroup >
1
+ <Project Sdk =" Godot.NET.Sdk/4.0.0" >
2
+ <PropertyGroup >
3
+ <TargetFramework >net6.0</TargetFramework >
4
+ <RootNamespace >Democsharp</RootNamespace >
5
+ </PropertyGroup >
6
6
</Project >
You can’t perform that action at this time.
0 commit comments