Change: log the GoalID, we'll probably want to store it later though
This commit is contained in:
5
main.nut
5
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user