Moved where the ranks are made in playreRanks

This commit is contained in:
Cooldude2606
2018-01-05 13:16:57 +00:00
parent 55c31f89fd
commit 78a0e74e3a

View File

@@ -37,7 +37,6 @@ http://lua-api.factorio.com/latest/defines.html#defines.input_action
-- see ExpCore/ranks.lua for examples - you add your own and edit pre-made ones here.
local groups = Ranking._groups(true)
local ranks = Ranking._ranks(true)
groups['Root']:edit('allow',false,{
['player-list']=true,
@@ -128,6 +127,8 @@ groups['User']:add_rank{
power=4
}
local ranks = Ranking._ranks(true)
ranks['Developer']:edit('allow',false,{
['cheat-mode']=true
})