Skip to content

Fix Space Exploration issue with Classes#556

Open
Qatavin wants to merge 3 commits intomodded-factorio:devfrom
Qatavin:patch-1
Open

Fix Space Exploration issue with Classes#556
Qatavin wants to merge 3 commits intomodded-factorio:devfrom
Qatavin:patch-1

Conversation

@Qatavin
Copy link
Copy Markdown
Collaborator

@Qatavin Qatavin commented Mar 11, 2026

This one line prevents Classes from loading with Space Exploration, since SE expects the character to have "icon" defined. Instead, we have "icons". But "icons" overrides "icon", so this is functionally the same.

This one line prevents Classes from loading with Space Exploration, since SE expects the character to have "icon" defined. Instead, we have "icons". But "icons" overrides "icon", so this is functionally the same.
@KiwiHawk
Copy link
Copy Markdown
Contributor

I've reported this here: https://discord.com/channels/419526714721566720/1487665922637562007

I don't like the solution posted as this results in log file warnings.

image

@Qatavin
Copy link
Copy Markdown
Collaborator Author

Qatavin commented Mar 29, 2026

Different solution. Restored the icon = nil at the top of character.lua, then added the icon back at the bottom of the file for SE to use. Then removed it again in final fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants