Skip to content

Commit

Permalink
Disables client mission demo
Browse files Browse the repository at this point in the history
Added a || false to short out the client mission system until its safe
to release.
  • Loading branch information
jpcsupplies committed Sep 6, 2016
1 parent ebed915 commit 6f7ed87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Economy/Data/Scripts/Economy.scripts/EconomyScript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ private bool ProcessMessage(string messageText)
return true;
}
#endregion quick gps commands

#region mission
//placeholder for testing mission success triggers without using a timer yet
if (split[0].Equals("/mission", StringComparison.InvariantCultureIgnoreCase) && MyAPIGateway.Session.Player.IsAdmin() && split.Length>=2)
Expand All @@ -557,7 +557,7 @@ private bool ProcessMessage(string messageText)
if (!HudManager.UpdateHud()) { MyAPIGateway.Utilities.ShowMessage("Error", "Hud Failed"); }
return true;
}
else if (split[0].Equals("/mission", StringComparison.InvariantCultureIgnoreCase) && split.Length==1)
else if (split[0].Equals("/mission", StringComparison.InvariantCultureIgnoreCase) && split.Length==1 || false) //added to disable until ready to release
{ //we are not an admin how about we start off a demo / tutorial mission chain then
//this is only temp; ideally we should have some sort of mission menu system or something more fancy eg a mission LCD menu you navigate with chat commands
//at some point we probably need a "new missions available" message somewhere too.
Expand Down

0 comments on commit 6f7ed87

Please sign in to comment.