Skip to content

Commit

Permalink
Rename private method _inject to __inject
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubonnek committed Dec 9, 2024
1 parent 0ade8a5 commit f11ccd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func on_editor_debugger_plugin_capture(p_message : String, p_data : Array) -> bo
# Inject the remote quest entry data:
var remote_quest_entry_id : int = p_data[1]
var remote_quest_entry_data : Dictionary = p_data[2]
stored_quest_manager._inject(remote_quest_entry_id, remote_quest_entry_data)
stored_quest_manager.__inject(remote_quest_entry_id, remote_quest_entry_data)

# Refresh the quest entries if needed:
__refresh_quest_entries_if_needed(stored_quest_manager)
Expand Down
2 changes: 1 addition & 1 deletion addons/rubonnek.quest_manager/runtime/quest_manager.gd
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func _iter_get(_p_args : Variant) -> QuestEntry:
# ==== ITERATOR ====

# Injects a quest dictionary given a quest ID. This is used in the debugger to synchronize QuestEntries.
func _inject(p_quest_id : int, p_quest_dictionary : Dictionary) -> void:
func __inject(p_quest_id : int, p_quest_dictionary : Dictionary) -> void:
if _m_quest_dictionaries.size() <= p_quest_id:
if _m_quest_dictionaries.resize(p_quest_id + 1) != OK:
push_warning("QuestManager: Unable to inject quest data array! The array won't be visualized properly.")
Expand Down

0 comments on commit f11ccd2

Please sign in to comment.