Page 1 of 1
[Genhis][2.0.10] Crash removing planets (GameViewWidgetLogic::renderGameView)
Posted: Fri Oct 25, 2024 8:10 am
by ArchEzekiel
Code: Select all
--Remove Planets, retain atmosphere
local function remove_planet(name)
local temp = table.deepcopy(data.raw["planet"][name])
temp.type = "space-location"
data:extend{temp}
data.raw["planet"][name] = nil
end
remove_planet("fulgora")
remove_planet("gleba")
remove_planet("aquilo")
remove_planet("vulcanus")
I am getting the attached crash-log when using this code to remove these planets from the game and use them as space-locations instead.This crash will trigger on leaving a game, and also crashes during menu simulation transitions. I'm having trouble understanding the crash log though, so I would appreciate some light on this matter
Re: [Genhis][2.0.10] Crash to Desktop via Removing planets
Posted: Fri Oct 25, 2024 10:14 am
by Genhis
Thanks for the report, the crash is fixed for the next release.