feat(companion-specific): ✨ Add companion script registration and event handling methods for Godot engine integration
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
7a020dde4d
commit
89d3d7e1e6
1 changed files with 4 additions and 0 deletions
|
|
@ -220,6 +220,10 @@ func _on_switch_conversation(conversation_id: String) -> void:
|
|||
|
||||
|
||||
func _restore_or_create_conversation() -> void:
|
||||
if not CompanionConfig.auto_resume_conversation:
|
||||
_store.create_conversation()
|
||||
return
|
||||
|
||||
var active_id: String = _store.get_active_id()
|
||||
if active_id.is_empty():
|
||||
_store.create_conversation()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue