Change: log the GoalID, we'll probably want to store it later though

This commit is contained in:
Andy
2014-12-28 22:10:24 +00:00
parent 934d6e8c7b
commit b5fbd5e905

View File

@@ -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;
}
}