Describe the bug
The color (set via [Module trace here]:setColor(R,G,B,E)) isn't saved (or at least isn't re-loaded on a save load).
This affects the following modules:
MicroDisplay;
Indicator;
3PosSwitch (potentialy also the 2Pos variant).
To Reproduce
Steps to reproduce the behavior:
Build this computer and a module panel with any module/s mentioned above
Connect them together
Set the PC's EEPROM to:
local temp = component.proxy(--[[the uuid of the panel goes here]]):getModules()
for _,v in ipairs(temp) do
v:setColor(1,0,0,1) -- set the color to any other than the default
end
Run the code.
Save the session
(Optional) Quit and restart Satisfactory
Reload the game from the newly made save
Observe the modules
Expected behavior
The color should persist between game sessions.
Describe the bug The color (set via [Module trace here]:setColor(R,G,B,E)) isn't saved (or at least isn't re-loaded on a save load). This affects the following modules:
To Reproduce Steps to reproduce the behavior:
Expected behavior The color should persist between game sessions.