1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-10 00:43:27 +02:00
ComfyFactorio/maps/biter_battles_v2/on_tick.lua
2019-03-14 22:50:09 +01:00

12 lines
257 B
Lua

local event = require 'utils.event'
local gui = require "maps.biter_battles_v2.gui"
local ai = require "maps.biter_battles_v2.ai"
local function on_tick(event)
if game.tick % 60 ~= 0 then return end
gui()
end
event.add(defines.events.on_tick, on_tick)