Skip to content

Commit

Permalink
Remove logs and add eof
Browse files Browse the repository at this point in the history
i liked those logs!
  • Loading branch information
Exotic-Retard authored and aeoncleanse committed Feb 2, 2017
1 parent deaf6b5 commit 25600be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions lua/factions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
function GetFactions(AllowedMods)
-- AllowedMods -> a table of currently enabled mods, keyed by mod ID. Ignore if not used
-- returns a list of factions. All 4 of the original factions are included plus all enabled custom factions.
--LOG('GetFactions()')
return GetCustomFactions(OrgFactions(), AllowedMods)
end

Expand Down Expand Up @@ -44,7 +43,6 @@ function GetCustomFactions(FactionsTable, AllowedMods)
FactionsTable = {}
end
local FactionFiles = DiskFindFiles('/lua/CustomFactions', '*.lua')
--LOG('*DEBUG: Custom faction files found: '..repr(FactionFiles))
local SelectedMods = GetSelectedMods(AllowedMods)
for k, file in FactionFiles do

Expand Down Expand Up @@ -335,4 +333,4 @@ for index, value in Factions do
FactionIndexMap[value.Key] = index
FactionDesToKey[value.CampaignFileDesignator] = value.Key
FactionInUnitBpToKey[value.FactionInUnitBp] = index
end
end
2 changes: 0 additions & 2 deletions lua/ui/game/construction.lua
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ local enhancementTooltips = {
local oldDecreaseBuildCountInQueue = DecreaseBuildCountInQueue
function DecreaseBuildCountInQueue(unitIndex, count)

-- LOG("Called DecreaseBuildCountInQueue hook")

-- FIXME: maybe add some sanity checking?
local unitStack = currentCommandQueue[unitIndex]
Expand All @@ -174,7 +173,6 @@ function DecreaseBuildCountInQueue(unitIndex, count)
end

if not (tech3 and supportfactory) then
--LOG("DecreaseBuildCountInQueue: calling super()")
oldDecreaseBuildCountInQueue(unitIndex, count)
else
LOG("Not canceling t3 support factory")
Expand Down

0 comments on commit 25600be

Please sign in to comment.