Skip to content

Commit

Permalink
Merge pull request #195 from theludovyc/fix#152_auto_rakugo_gd_fix_me…
Browse files Browse the repository at this point in the history
…mory_leak

fix #152 autoload Rakugo.gd
  • Loading branch information
Jeremi360 authored Jan 22, 2023
2 parents 933ba9e + 6973e09 commit 0a6fc2f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion addons/Rakugo/lib/systems/Executer.gd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extends Object
extends Reference

const jump_error = "Executer::do_execute_jump, can not jump to unknow label : "

Expand Down
2 changes: 1 addition & 1 deletion addons/Rakugo/lib/systems/Parser.gd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extends Object
extends Reference

# this code base on code from:
# https://github.com/nathanhoad/godot_dialogue_manager
Expand Down
2 changes: 1 addition & 1 deletion addons/Rakugo/lib/systems/StoreManager.gd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extends Node
extends Reference

var save_folder_path:String

Expand Down
2 changes: 1 addition & 1 deletion addons/Rakugo/plugin.gd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ extends EditorPlugin

func _enter_tree():
# Initialization of the plugin goes here
add_autoload_singleton("Rakugo", "res://addons/Rakugo/Rakugo.tscn")
add_autoload_singleton("Rakugo", "res://addons/Rakugo/Rakugo.gd")

#TODO look if setting are saved and load them

Expand Down
5 changes: 2 additions & 3 deletions project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,16 @@ _global_script_class_icons={

[addons]

rakugo/spaghetti="bolognaise"
rakugo/force_reload=false
rakugo/auto_mode_delay=3
rakugo/skip_delay=0.5
rakugo/rollback_steps=10
rakugo/test_mode=false
rakugo/game_version="1.0.0"
rakugo/history_length=30
rakugo/narrator/name="narrator"
rakugo/debug=false
rakugo/save_folder="user://saves"
rakugo/test_mode=false

[application]

Expand All @@ -52,7 +51,7 @@ config/icon="res://icon.png"

[autoload]

Rakugo="*res://addons/Rakugo/Rakugo.tscn"
Rakugo="*res://addons/Rakugo/Rakugo.gd"

[debug]

Expand Down

0 comments on commit 0a6fc2f

Please sign in to comment.