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 57b0923 commit 0616a81Copy full SHA for 0616a81
addons/dialogic/Other/DialogicClass.gd
@@ -132,7 +132,10 @@ static func get_variable(name: String) -> String:
132
if Engine.is_editor_hint():
133
return Engine.get_singleton('DialogicSingleton').get_variable(name)
134
else:
135
- return DialogicSingleton.get_variable(name)
+ if DialogicSingleton:
136
+ return DialogicSingleton.get_variable(name)
137
+ else:
138
+ return ''
139
140
141
## Sets the value for the variable with the given name.
0 commit comments