fix(@projects/@magic-civilization): 🐛 update research yield processing
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
73ee09a904
commit
9632bd2526
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue