Skip to content

Stop some files from being included in realms they shouldn't - #67

Open
Zaurzo wants to merge 4 commits into
Dragoteryx:masterfrom
Zaurzo:patch-8
Open

Stop some files from being included in realms they shouldn't#67
Zaurzo wants to merge 4 commits into
Dragoteryx:masterfrom
Zaurzo:patch-8

Conversation

@Zaurzo

@Zaurzo Zaurzo commented Jun 19, 2024

Copy link
Copy Markdown
Contributor

Some files have if CLIENT then return end or if SERVER then return end when you can just not include them on those realms. It's a small optimization, and stops server only files from being sent to clients (there is a limit to how many Lua files that can be sent to clients in multiplayer)

@Zaurzo

Zaurzo commented Jun 19, 2024

Copy link
Copy Markdown
Contributor Author

@Dragoteryx

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant