mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-12 15:54:52 +09:00
Fixed ExpGamingCore.Role role times
This commit is contained in:
1 parent
d8e87044df
commit
081a13a77d
1 file changed
+1
-1
@@ -41,7 +41,7 @@ local Role = {
|
||||
local role = self.get(role_name)
|
||||
if not role then error('Invalid role name in order listing: '..role_name) return end
|
||||
if role.is_default then self.meta.default = role end
|
||||
if role.is_timed then self.meta.times[role.name] = {index,role.time} end
|
||||
if role.is_timed then self.meta.times[role.name] = {index,role.time*3600} end
|
||||
if not self.meta.groups[role.group.name] then self.meta.groups[role.group.name] = {lowest=index,highest=index} end
|
||||
if self.meta.groups[role.group.name].highest > index then self.meta.groups[role.group.name].highest = index end
|
||||
if self.meta.groups[role.group.name].lowest < index then self.meta.groups[role.group.name].lowest = index end
|
||||
|
||||
Reference in new issue
Block a user