From 4201c8f4e7a5024697e20f7ade19a546d2edccf7 Mon Sep 17 00:00:00 2001 From: Andy <1780327+andythenorth@users.noreply.github.com> Date: Sun, 28 Dec 2014 22:11:10 +0000 Subject: [PATCH] Codechange: move a logging line so other code flow is easier to read --- main.nut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.nut b/main.nut index f50ebb7..079d686 100644 --- a/main.nut +++ b/main.nut @@ -181,10 +181,10 @@ function FMainClass::CreateChallenge(cid) destination_string = GSText(GSText.STR_INDUSTRY_NAME, destination); goal_type = GSGoal.GT_INDUSTRY; } - local goal_text = GSText(GSText.STR_COMPANY_GOAL, cargo, amount, destination_string); GSLog.Info("Company " + cid + ": " + amount + " of " + GSCargo.GetCargoLabel(this.cargoes[cargo].cid) + " to " + destination_name); + local goal_text = GSText(GSText.STR_COMPANY_GOAL, cargo, amount, destination_string); local goal_uid = GSGoal.New(cid, goal_text, goal_type, destination); // ¿ we're probably going to want to store the GoalID in the company goal data ? // for now, just log it