• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

ChoGGi_2

Lt. General
21 Badges
Apr 3, 2018
1.419
114
  • Surviving Mars
  • Stellaris: Ancient Relics
  • Cities: Skylines - Campus
  • Surviving Mars: First Colony Edition
  • Prison Architect
  • Cities: Skylines Industries
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Parklife
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Green Cities
  • Age of Wonders III
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - Natural Disasters
  • Stellaris
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines
  • Crusader Kings II
  • Ship Simulator Extremes
  • Magicka
Description
GetLayoutConstructionBuildingCost() is checking the wrong template name


Windows


Steam

What is your game version?
1001586

Do you have Space Race installed?
Yes

Please explain your issue is in as much detail as possible.
Sorry for the code Andrew ;)


(The decompiled code in hotfix 4 is the same)

Code:
        if entry.template~="life_support_grid" and entry.template~="electricity_support_grid" then

electricity_support_grid doesn't exist anywhere else in the code, electricity_grid does and is the correct template to check for .


NokiaKyklish on the modders discord found this bug, I'd just figure I'd report it.

Can you replicate the issue?
Sure?

Attachments
File(s) attached
 

Attachments

  • doggo.png
    doggo.png
    750,8 KB · Views: 0
Upvote 0
MAC-5754
Bug logged, thank you folks!