diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-21 22:12:47 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-21 22:12:47 -0400 |
| commit | 4655204853bc7b9385c90cfe416eb7ed12ead2c6 (patch) | |
| tree | 89fb285d1bddb5005107b9e2aa01ad2706631d1d /gamemode | |
| parent | f6b7219d6c0e2ab1b7b23f87496b04167fa7737c (diff) | |
| download | artery-4655204853bc7b9385c90cfe416eb7ed12ead2c6.tar.gz artery-4655204853bc7b9385c90cfe416eb7ed12ead2c6.tar.bz2 artery-4655204853bc7b9385c90cfe416eb7ed12ead2c6.zip | |
More hotfix
Diffstat (limited to 'gamemode')
| -rw-r--r-- | gamemode/core/database/sv_setup.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gamemode/core/database/sv_setup.lua b/gamemode/core/database/sv_setup.lua index 6676735..32a4177 100644 --- a/gamemode/core/database/sv_setup.lua +++ b/gamemode/core/database/sv_setup.lua @@ -64,7 +64,10 @@ function sql.GetPlayerData(ply) print("About to check if we are on the right server") if mtbl.lastserver ~= game.GetIPAddress() then print("Connecting player to ", mtbl.lastserver, " was on ", game.GetIPAddress()) - ply:ConCommand("connect " .. mtbl.lastserver) + --ply:ConCommand("connect " .. mtbl.lastserver) + net.Start("art_sendtoserver") + net.WriteString(mtbl.lastserver) + net.Send(ply) return end local _,_,x,y,z = string.find(mtbl.lastlocation,"([-%d%.]+) ([-%d%.]+) ([-%d%.]+)") |
