summaryrefslogtreecommitdiffstats
path: root/editor/plugins/editor_debugger_plugin.h
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2020-08-30 01:52:42 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2020-08-30 01:52:42 +0200
commitb89ba85f6f32642998f2c898191c5158a52b57f2 (patch)
tree91214752b1db843b43ee92a7974d93df347ec162 /editor/plugins/editor_debugger_plugin.h
parentf10c3810bb0abfa18b1a579ee927f460bf191b6d (diff)
downloadredot-engine-b89ba85f6f32642998f2c898191c5158a52b57f2.tar.gz
Fix crash because of initialized EditorDebuggerPlugin field
Diffstat (limited to 'editor/plugins/editor_debugger_plugin.h')
-rw-r--r--editor/plugins/editor_debugger_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/editor_debugger_plugin.h b/editor/plugins/editor_debugger_plugin.h
index 5536f2daa2..10fd1151de 100644
--- a/editor/plugins/editor_debugger_plugin.h
+++ b/editor/plugins/editor_debugger_plugin.h
@@ -39,7 +39,7 @@ class EditorDebuggerPlugin : public Control {
GDCLASS(EditorDebuggerPlugin, Control);
private:
- ScriptEditorDebugger *debugger;
+ ScriptEditorDebugger *debugger = nullptr;
void _breaked(bool p_really_did, bool p_can_debug);
void _started();