Skip to content

Commit

Permalink
Remove example balloon class on copy (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanhoad authored Sep 15, 2024
1 parent 2c0bd26 commit 9f8a3ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/dialogue_manager/plugin.gd
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ func _copy_dialogue_balloon() -> void:
file_contents = file.get_as_text()
if is_dotnet:
file_contents = file_contents.replace("class ExampleBalloon", "class DialogueBalloon")
else:
file_contents = file_contents.replace("class_name DialogueManagerExampleBalloon ", "")
file = FileAccess.open(balloon_script_path, FileAccess.WRITE)
file.store_string(file_contents)
file.close()
Expand Down

0 comments on commit 9f8a3ab

Please sign in to comment.