diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-19 13:46:06 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-19 13:46:06 -0400 |
| commit | 0b1d97a5ae72fabc611adb922a247f43b514815e (patch) | |
| tree | 057e8b885daf4ec8c6e272d064b8d40c3b5c77ae /lua/autorun/zone_serverchanger.lua | |
| parent | 95a01138ddd5e602abc9d30877f1294cbdd04119 (diff) | |
| download | artery_editor-0b1d97a5ae72fabc611adb922a247f43b514815e.tar.gz artery_editor-0b1d97a5ae72fabc611adb922a247f43b514815e.tar.bz2 artery_editor-0b1d97a5ae72fabc611adb922a247f43b514815e.zip | |
fixed a bug with serverchanger zones
Diffstat (limited to 'lua/autorun/zone_serverchanger.lua')
| -rw-r--r-- | lua/autorun/zone_serverchanger.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/autorun/zone_serverchanger.lua b/lua/autorun/zone_serverchanger.lua index afb92a6..9599479 100644 --- a/lua/autorun/zone_serverchanger.lua +++ b/lua/autorun/zone_serverchanger.lua @@ -33,7 +33,7 @@ hook.Add("ShowZoneOptions","artery_serverchange",function(zone,class,DPanel,zone print("server's onvaluechanged has been called") net.Start("artery_serverchange") net.WriteFloat(zoneID) - net.WriteString(new) + net.WriteString(to:GetValue()) net.SendToServer() end |
