Ensure environment starts in default offline state, rather than an empty string; closes pterodactyl/panel#2519

This commit is contained in:
Dane Everitt 2020-11-02 19:43:49 -08:00
parent 13c253780a
commit 912d95de24
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -65,6 +65,7 @@ func New(id string, m *Metadata, c *environment.Configuration) (*Environment, er
Configuration: c,
meta: m,
client: cli,
st: environment.ProcessOfflineState,
}
return e, nil