We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab2318d commit 8d08147Copy full SHA for 8d08147
2 files changed
README.md
@@ -109,7 +109,7 @@ func _ready() -> void:
109
110
var val = lua.pull_variant("get_message")
111
if val is LuaError:
112
- print("ERROR %d: %s" % [err.type, err.message])
+ print("ERROR %d: %s" % [val.type, val.message])
113
return
114
115
var message = val.call([])
project/demo/HelloLua.gd
@@ -27,6 +27,6 @@ func _ready():
27
28
var ret = lua.call_function("get_message", [])
29
if ret is LuaError:
30
+ print("ERROR %d: %s" % [ret.type, ret.message])
31
32
print(ret)
0 commit comments