Skip to content

Commit 0a6fc2f

Browse files
authored
Merge pull request #195 from theludovyc/fix#152_auto_rakugo_gd_fix_memory_leak
fix #152 autoload Rakugo.gd
2 parents 933ba9e + 6973e09 commit 0a6fc2f

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

addons/Rakugo/lib/systems/Executer.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extends Object
1+
extends Reference
22

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

addons/Rakugo/lib/systems/Parser.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extends Object
1+
extends Reference
22

33
# this code base on code from:
44
# https://github.com/nathanhoad/godot_dialogue_manager

addons/Rakugo/lib/systems/StoreManager.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extends Node
1+
extends Reference
22

33
var save_folder_path:String
44

addons/Rakugo/plugin.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ extends EditorPlugin
44

55
func _enter_tree():
66
# Initialization of the plugin goes here
7-
add_autoload_singleton("Rakugo", "res://addons/Rakugo/Rakugo.tscn")
7+
add_autoload_singleton("Rakugo", "res://addons/Rakugo/Rakugo.gd")
88

99
#TODO look if setting are saved and load them
1010

project.godot

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,16 @@ _global_script_class_icons={
3232

3333
[addons]
3434

35-
rakugo/spaghetti="bolognaise"
3635
rakugo/force_reload=false
3736
rakugo/auto_mode_delay=3
3837
rakugo/skip_delay=0.5
3938
rakugo/rollback_steps=10
39+
rakugo/test_mode=false
4040
rakugo/game_version="1.0.0"
4141
rakugo/history_length=30
4242
rakugo/narrator/name="narrator"
4343
rakugo/debug=false
4444
rakugo/save_folder="user://saves"
45-
rakugo/test_mode=false
4645

4746
[application]
4847

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

5352
[autoload]
5453

55-
Rakugo="*res://addons/Rakugo/Rakugo.tscn"
54+
Rakugo="*res://addons/Rakugo/Rakugo.gd"
5655

5756
[debug]
5857

0 commit comments

Comments
 (0)