Quantcast

Fix: Lst ships was showing %d instead of actual number

Giovanni Gargani [07-10-16 - 09:09]
Fix: Lst ships was showing %d instead of actual number
Filename
MissionCompletion.lua
diff --git a/MissionCompletion.lua b/MissionCompletion.lua
index c2c885f..7c677fa 100644
--- a/MissionCompletion.lua
+++ b/MissionCompletion.lua
@@ -370,7 +370,7 @@ function module:MissionsPrintResults(success)
 		local shipyard=addon:GetModule("ShipYard")
 		local newshipsnumber=shipyard:GetTotFollowers()
 		if shipsnumber ~= newshipsnumber then
-			report:AddRow(L["You lost %d ships"],shipsnumber - newshipsnumber)
+			report:AddRow(format(L["You lost %d ships"],shipsnumber - newshipsnumber))
 			for k,v in pairs(rewards.followerBase) do
 				report:AddFollower(self:GetAnyData(followerType,k),-1)
 			end