Updated power station to export current holding var. Allows us to start with charges

This commit is contained in:
akshay committed 2022-08-15 20:21:17 -04:00
1 parent 63d247bd3a
commit a4c7dcf21a
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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):