Fix error when opening resource goal description

liquid_container
Mark 2016-03-28 21:00:26 +02:00
parent e6093ee2fc
commit 44b643d1e3
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public func GetDescription(int plr)
// Put the message together
var icon = GetBlastID(material);
var available_object_count = AvailableObjectCount(material);
var exploitable_object_count = Max(0, ExploitableObjectCount(exploitable_units - tolerance_units));
var exploitable_object_count = Max(0, ExploitableObjectCount(exploitable_units - tolerance_units, material));
var add_msg = Format("$MsgGoalResource$", icon, exploitable_object_count, available_object_count);
message = Format("%s%s", message, add_msg);
}