Speziellerer DeveloperMode => Generell im Debug Modus
This commit is contained in:
@@ -25,14 +25,16 @@ namespace BeWo.Core
|
||||
|
||||
public void TryActiveDeveloperMode(string[] args)
|
||||
{
|
||||
if (Stage != BeWoClientReleaseStage.Sandbox)
|
||||
#if !DEBUG
|
||||
|
||||
if (Stage != BeWoClientReleaseStage.Sandbox && Stage != BeWoClientReleaseStage.ProofOfConcept)
|
||||
return;
|
||||
|
||||
#if !DEBUG
|
||||
if (args.All(x => x != "/bewodevmode" && x != "--bewodevmode"))
|
||||
return;
|
||||
#endif
|
||||
|
||||
// Darf noch nicht aktiviert sein
|
||||
if (IsInDeveloperMode)
|
||||
throw new NotImplementedException();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user