Skip to content
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.

Commit

Permalink
Remove leftover debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
Afforess committed Mar 30, 2016
1 parent 56d17f0 commit 372f05a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE_NAME := Misanthrope
VERSION_STRING := 0.3.1
VERSION_STRING := 0.3.2

OUTPUT_NAME := $(PACKAGE_NAME)_$(VERSION_STRING)
OUTPUT_DIR := build/$(OUTPUT_NAME)
Expand Down
9 changes: 0 additions & 9 deletions libs/map.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@ function Map.new()
global.attack_plans[key] = nil
end
end

if not global.foo then
for _, region in pairs(global.regions) do
if region.danger_cache and not region.danger_cache.all_zeros then
danger_cache.calculate(region.danger_cache)
end
end
global.foo = true
end
end

function Map:update_region_ai(region_data)
Expand Down

0 comments on commit 372f05a

Please sign in to comment.