mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-12 04:16:12 +01:00
Leo bug fixes
This commit is contained in:
@@ -20,13 +20,13 @@ enum MODULE_TYPE {CANNON, STEERING, ENGINE, STORAGE}
|
||||
#------------Methods-------------#
|
||||
|
||||
|
||||
func interact(player):
|
||||
func interact(_player):
|
||||
pass
|
||||
|
||||
|
||||
func _ready():
|
||||
var root = get_tree().root.get_child(0)
|
||||
|
||||
#var root = get_tree().root.get_child(0)
|
||||
pass
|
||||
|
||||
#-----------Setter and Getter---------------#
|
||||
func _set_currentStashValue(newValue):
|
||||
|
||||
@@ -11,7 +11,7 @@ enum TYPE {AMMO, GUNPOWDER, COAL, LARGE, GIANT}
|
||||
@export var audioClip : AudioStreamWAV
|
||||
#------------Methods-------------#
|
||||
func _ready():
|
||||
var root = get_tree().root.get_child(0)
|
||||
#var root = get_tree().root.get_child(0)
|
||||
#root.ammo_pickup.connect(_on_signal_storing)
|
||||
maxStashValue = 10
|
||||
currentStashValue = 10
|
||||
|
||||
Reference in New Issue
Block a user