diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-22 00:14:56 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-22 00:14:56 -0400 |
| commit | 0f3211e4fb0cf27684079e6195995947c9f9027f (patch) | |
| tree | a287cddf05bce255448e834d1dc96b1bc0d62bda /gamemode/core/mapstich | |
| parent | 4655204853bc7b9385c90cfe416eb7ed12ead2c6 (diff) | |
| download | artery-0f3211e4fb0cf27684079e6195995947c9f9027f.tar.gz artery-0f3211e4fb0cf27684079e6195995947c9f9027f.tar.bz2 artery-0f3211e4fb0cf27684079e6195995947c9f9027f.zip | |
Hotfix for map stich
Diffstat (limited to 'gamemode/core/mapstich')
| -rw-r--r-- | gamemode/core/mapstich/sv_mapstich.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gamemode/core/mapstich/sv_mapstich.lua b/gamemode/core/mapstich/sv_mapstich.lua index bd671bd..6a2ae38 100644 --- a/gamemode/core/mapstich/sv_mapstich.lua +++ b/gamemode/core/mapstich/sv_mapstich.lua @@ -43,8 +43,9 @@ concommand.Add("artery_saveplayer",function(ply,cmd,args) end) net.Receive("art_zonechange",function(len,ply) - + SavePlayerData(ply) timer.Simple(0.5,function() + if not IsValid(ply) then return end local zone = ply:GetCurrentZone("artery_serverchange") if zone then dontupdatedisconnect[ply] = true @@ -71,8 +72,6 @@ net.Receive("art_zonechange",function(len,ply) print("Query",sql) print("Error",err) end) - - SavePlayerData(ply) end end) end) |
