Refactor: clean up unused code and improve variable initialization in evolution and entity management

This commit is contained in:
Kirill
2026-08-17 08:12:43 +03:00
parent d9cae38a11
commit 044d193f8d
5 changed files with 69 additions and 40 deletions
+5 -5
View File
@@ -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: