diff --git a/doc/modules/ExpGamingCore.Gui.Left.html b/doc/modules/ExpGamingCore.Gui.Left.html index 57aa9700..b1fc3ddc 100644 --- a/doc/modules/ExpGamingCore.Gui.Left.html +++ b/doc/modules/ExpGamingCore.Gui.Left.html @@ -84,7 +84,7 @@ update ([frame[, players]]) - This is used to update all the guis of conected players, good idea to use our thread system as it as nested for loops + This is used to update all the guis of connected players, good idea to use our thread system as it as nested for loops open (left_name) @@ -151,7 +151,7 @@ update ([frame[, players]])
- This is used to update all the guis of conected players, good idea to use our thread system as it as nested for loops + This is used to update all the guis of connected players, good idea to use our thread system as it as nested for loops

Parameters:

diff --git a/modules/ExpGamingCore/Command/control.lua b/modules/ExpGamingCore/Command/control.lua index d2c35215..3d463c9d 100644 --- a/modules/ExpGamingCore/Command/control.lua +++ b/modules/ExpGamingCore/Command/control.lua @@ -78,7 +78,7 @@ commands.validate = { ['player-online']=function(value,event) local player,err = commands.validate['player'](value) if err then return commands.error(err) end - local rtn = player.conected and player or nil + local rtn = player.connected and player or nil if not rtn then return commands.error{'ExpGamingCore_Command.error-player-online'} end return rtn end, ['player-alive']=function(value,event) local player,err = commands.validate['player-online'](value) diff --git a/modules/ExpGamingCore/Gui/src/left.lua b/modules/ExpGamingCore/Gui/src/left.lua index 3f084bfb..7b20f947 100644 --- a/modules/ExpGamingCore/Gui/src/left.lua +++ b/modules/ExpGamingCore/Gui/src/left.lua @@ -49,7 +49,7 @@ function left.add(obj) return obj end ---- This is used to update all the guis of conected players, good idea to use our thread system as it as nested for loops +--- This is used to update all the guis of connected players, good idea to use our thread system as it as nested for loops -- @usage Gui.left.update() -- @tparam[opt] string frame this is the name of a frame if you only want to update one -- @param[opt] players the player to update for, if not given all players are updated, can be one player