mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-16 00:24:52 +09:00
Stoped roles being assigned if already assigned
This commit is contained in:
1 parent
6f8fea9a11
commit
48b036f395
2 files changed
+1
-4
No files matched your search
@@ -44,14 +44,10 @@ ThisModule.Gui = Gui.left{
|
||||
tooltip={'ExpGamingInfo-Science.tooltip'},
|
||||
draw=function(frame)
|
||||
local player = Game.get_player(frame.player_index)
|
||||
log(serpent.line(global))
|
||||
log(serpent.line(global[player.force.name]))
|
||||
if not global[player.force.name] then
|
||||
verbose('Added Science Global for: '..player.force.name)
|
||||
global[player.force.name] = table.deepcopy(global._base)
|
||||
end
|
||||
log(serpent.line(global))
|
||||
log(serpent.line(global[player.force.name]))
|
||||
force_data = global[player.force.name]
|
||||
frame.caption = {'ExpGamingInfo-Science.name'}
|
||||
frame.add{
|
||||
|
||||
Reference in new issue
Block a user