mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix(EdgegapHosting): only include enabled scenes in build (#3798)
* fix(EdgegapHosting): only include enabled scenes in build * syntax
This commit is contained in:
parent
37db5037cd
commit
83d652c7f4
@ -22,7 +22,12 @@ public static bool IsArmCPU() =>
|
|||||||
|
|
||||||
public static BuildReport BuildServer()
|
public static BuildReport BuildServer()
|
||||||
{
|
{
|
||||||
IEnumerable<string> scenes = EditorBuildSettings.scenes.Select(s=>s.path);
|
// MIRROR CHANGE: only include scenes which are enabled
|
||||||
|
IEnumerable<string> scenes = EditorBuildSettings.scenes
|
||||||
|
.Where(s => s.enabled)
|
||||||
|
.Select(s => s.path);
|
||||||
|
// END MIRROR CHANGE
|
||||||
|
|
||||||
BuildPlayerOptions options = new BuildPlayerOptions
|
BuildPlayerOptions options = new BuildPlayerOptions
|
||||||
{
|
{
|
||||||
scenes = scenes.ToArray(),
|
scenes = scenes.ToArray(),
|
||||||
|
Loading…
Reference in New Issue
Block a user