summaryrefslogtreecommitdiffstats
path: root/core/object/script_language.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/object/script_language.h')
-rw-r--r--core/object/script_language.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/object/script_language.h b/core/object/script_language.h
index af4f276825..08b82d798e 100644
--- a/core/object/script_language.h
+++ b/core/object/script_language.h
@@ -430,11 +430,11 @@ public:
extern uint8_t script_encryption_key[32];
class PlaceHolderScriptInstance : public ScriptInstance {
- Object *owner;
+ Object *owner = nullptr;
List<PropertyInfo> properties;
Map<StringName, Variant> values;
Map<StringName, Variant> constants;
- ScriptLanguage *language;
+ ScriptLanguage *language = nullptr;
Ref<Script> script;
public: