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
github.com
(The decompiled code in hotfix 4 is the same)
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
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
SurvivingMars/Lua/LayoutConstruction.lua at master · HaemimontGames/SurvivingMars
Surviving Mars reference source code. Contribute to HaemimontGames/SurvivingMars development by creating an account on GitHub.
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
Upvote
0