Merge branch 'feature/arcade' of ssh://github.com/lucky-sideburn/KubeInvaders into feature/arcade

This commit is contained in:
luckysideburn
2019-10-07 15:18:21 -04:00
6 changed files with 7 additions and 7 deletions

View File

@@ -1 +1 @@
{"content":[{"name":"game.projectc","size":2335,"pieces":[{"name":"game.projectc0","offset":0}]},{"name":"game.arci","size":5488,"pieces":[{"name":"game.arci0","offset":0}]},{"name":"game.arcd","size":290036,"pieces":[{"name":"game.arcd0","offset":0}]},{"name":"game.dmanifest","size":9710,"pieces":[{"name":"game.dmanifest0","offset":0}]},{"name":"game.public.der","size":162,"pieces":[{"name":"game.public.der0","offset":0}]}]}
{"content":[{"name":"game.projectc","size":2335,"pieces":[{"name":"game.projectc0","offset":0}]},{"name":"game.arci","size":5488,"pieces":[{"name":"game.arci0","offset":0}]},{"name":"game.arcd","size":290080,"pieces":[{"name":"game.arcd0","offset":0}]},{"name":"game.dmanifest","size":9710,"pieces":[{"name":"game.dmanifest0","offset":0}]},{"name":"game.public.der","size":162,"pieces":[{"name":"game.public.der0","offset":0}]}]}

View File

@@ -11,7 +11,7 @@ automatic = false
last_namespace_change = false
last_hit_time = os.clock()
alien_proximity_factor = 15
hit_cpu_time_rate_limit = nil
hit_cpu_time_rate_limit = 0
local timer = require ("main.timer")
function get_help()
@@ -314,14 +314,14 @@ function init(self)
conf["endpoint"] = os.getenv("ENDPOINT")
conf["namespace"] = os.getenv("NAMESPACE")
if os.getenv("alien_proximity_factor") ~= nil then
alien_proximity_factor = os.getenv("alien_proximity_factor")
if os.getenv("ALIEN_PROXIMITY_FACTOR") ~= nil then
alien_proximity_factor = os.getenv("ALIEN_PROXIMITY_FACTOR")
end
if os.getenv("hit_cpu_time_rate_limit") ~= nil then
hit_cpu_time_rate_limit = os.getenv("hit_cpu_time_rate_limit")
if os.getenv("HIT_CPU_TIME_RATE_LIMIT") ~= nil then
hit_cpu_time_rate_limit = os.getenv("HIT_CPU_TIME_RATE_LIMIT")
end
end
if conf["token"] == nil or conf["endpoint"] == nil or conf["namespace"] == nil then