Refactor: clean up unused code and improve variable initialization in evolution and entity management
This commit is contained in:
+5
-5
@@ -1,7 +1,5 @@
|
||||
extends Control
|
||||
|
||||
#signal produce_items(item_id: String, amount: int)
|
||||
|
||||
const OWNIVERSE_ITEM = preload("uid://d3xjfxwe3w16v")
|
||||
|
||||
const SPEED_TEXTURE_NAME_TEMPLATE = "res://ui/topmenu/time&speed/time%s.png"
|
||||
@@ -98,9 +96,6 @@ func set_owniverse_item_value() -> void:
|
||||
owniverse.items_to_update = {}
|
||||
|
||||
|
||||
#func unlock_owniverse_item() -> void:
|
||||
#pass
|
||||
|
||||
#endregion
|
||||
|
||||
func _on_indicator_pressed(indicator_name: String, page: int = 0):
|
||||
@@ -300,6 +295,11 @@ func _change_speed(delta: int) -> void:
|
||||
|
||||
func _on_topmenu_button_pressed(ButtonName) -> void:
|
||||
print(ButtonName)
|
||||
#var s: float = 1E15
|
||||
#var z = 1.0
|
||||
#for i in range(30):
|
||||
#print(i, " | ", z, " | ", " | ", s - z)
|
||||
#z *= 10
|
||||
|
||||
|
||||
func _on_save_data() -> void:
|
||||
|
||||
Reference in New Issue
Block a user