From b5fbd5e905723275bb9f766130029f63d5f19564 Mon Sep 17 00:00:00 2001 From: Andy <1780327+andythenorth@users.noreply.github.com> Date: Sun, 28 Dec 2014 22:10:24 +0000 Subject: [PATCH] Change: log the GoalID, we'll probably want to store it later though --- main.nut | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.nut b/main.nut index 7fda26a..f50ebb7 100644 --- a/main.nut +++ b/main.nut @@ -185,7 +185,10 @@ function FMainClass::CreateChallenge(cid) GSLog.Info("Company " + cid + ": " + amount + " of " + GSCargo.GetCargoLabel(this.cargoes[cargo].cid) + " to " + destination_name); - GSGoal.New(cid, goal_text, goal_type, destination); + 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 + GSLog.Info("Goal ID: " + goal_uid) break; } }