Updated power station to export current holding var. Allows us to start with charges
This commit is contained in:
1 parent
63d247bd3a
commit
a4c7dcf21a
2 files changed
+2
-1
No files matched your search
@@ -3,7 +3,7 @@ extends Spatial
|
||||
export var max_charge_capacity : int = 1
|
||||
export var time_to_generate : float = 120
|
||||
|
||||
var current_holding : int = 0 setget set_current_holding
|
||||
export var current_holding : int = 0 setget set_current_holding
|
||||
var current_timer : float = 0
|
||||
|
||||
func set_current_holding(new_value):
|
||||
|
||||
Reference in new issue
Block a user