Duplicate dictionary data

This commit is contained in:
Serhii Snitsaruk 2022-10-27 01:51:29 +02:00
parent b68dc0a36a
commit 46ec4069b5
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ private:
protected: protected:
static void _bind_methods(); static void _bind_methods();
void _set_blackboard_data(Dictionary p_value) { blackboard->set_data(p_value); } void _set_blackboard_data(Dictionary p_value) { blackboard->set_data(p_value.duplicate()); }
Dictionary _get_blackboard_data() const { return blackboard->get_data(); } Dictionary _get_blackboard_data() const { return blackboard->get_data(); }
void _notification(int p_notification); void _notification(int p_notification);