Fixing file load failing

This commit is contained in:
Cooldude2606
2019-05-25 16:21:32 +01:00
parent fba761a7c6
commit 0d24257835
18 changed files with 22 additions and 19 deletions

View File

@@ -13,11 +13,11 @@ local Public = {
}
Global.register({
Public.compilatrons,
Public.current_messages
compilatrons = Public.compilatrons,
current_messages = Public.current_messages
},function(tbl)
Public.compilatrons=tbl[1]
Public.current_messages=tbl[2]
Public.compilatrons = tbl.compilatrons
Public.current_messages = tbl.current_messages
end)
--- This will re-create the speech bubble after it de-spawns called with set_timeout

View File

@@ -13,11 +13,11 @@ local Public = {
}
Global.register({
Public.old_roles,
Public.temp_bans
old_roles = Public.old_roles,
temp_bans = Public.temp_bans
},function(tbl)
Public.old_roles=tbl[1]
Public.temp_bans=tbl[2]
Public.old_roles = tbl.old_roles
Public.temp_bans = tbl.temp_bans
end)
local function event_emit(event,player,by_player_name,reason)

View File

@@ -15,11 +15,11 @@ local Public = {
}
Global.register({
Public.user_warnings,
Public.user_temp_warnings
user_warnings = Public.user_warnings,
user_temp_warnings = Public.user_temp_warnings
},function(tbl)
Public.user_warnings = tbl[1]
Public.user_temp_warnings = tbl[2]
Public.user_warnings = tbl.user_warnings
Public.user_temp_warnings = tbl.user_temp_warnings
end)
local function event_emit(event,player,by_player_name)