Panakotta00 / FicsIt-Networks

Control, Monitor, Manage and Automate your Satisfactory.
https://ficsit.app/mod/FicsItNetworks
GNU General Public License v3.0
157 stars 51 forks source link

The light color of the new modules isn't saved #167

Closed ERYK500 closed 2 years ago

ERYK500 commented 2 years ago

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:

  1. Build this computer and a module panel with any module/s mentioned above
  2. Connect them together
  3. 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
  4. Run the code.
  5. Save the session
  6. (Optional) Quit and restart Satisfactory
  7. Reload the game from the newly made save
  8. Observe the modules

Expected behavior The color should persist between game sessions.

RozeDoyanawa commented 2 years ago

This was by design. I'm working on changing it.

RozeDoyanawa commented 2 years ago

Probably fixed :3

RozeDoyanawa commented 2 years ago

Fixed in #168