diff --git a/Makefile b/Makefile index 6163534..184ffad 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/libs/map.lua b/libs/map.lua index 66563dc..b26dd07 100644 --- a/libs/map.lua +++ b/libs/map.lua @@ -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)