fix(@projects/@magic-civilization): 🐛 update research yield processing

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Natalie 2026-04-12 21:59:37 -07:00
parent 73ee09a904
commit 9632bd2526

View file

@ -144,8 +144,7 @@ func _process_research(player: RefCounted) -> void: # Player
city as CityScript, game_map
)
var yields: Dictionary = city.get_yields(tile_json)
var building_sci: int = _sum_city_building_effect(city as CityScript, "science")
player.research_progress += int((yields.get("science", 0) + building_sci) * sci_modifier)
player.research_progress += int(yields.get("science", 0) * sci_modifier)
# Check if researching a spell (not a tech)
var spell_data: Dictionary = DataLoader.get_spell(player.researching)