diff options
| author | Bob Blackmon <bob.blackmon@ymail.com> | 2017-04-04 00:56:39 -0400 |
|---|---|---|
| committer | Bob Blackmon <bob.blackmon@ymail.com> | 2017-04-04 00:56:39 -0400 |
| commit | 84325f6caef2599c5ee7750ea04ae66212544e55 (patch) | |
| tree | 38c93ac04212941c37d7356a77077d42d9515f76 /lua | |
| parent | a9b07fa7ed461f0b4896a93b34d8054c29e0cbb7 (diff) | |
| download | zones-84325f6caef2599c5ee7750ea04ae66212544e55.tar.gz zones-84325f6caef2599c5ee7750ea04ae66212544e55.tar.bz2 zones-84325f6caef2599c5ee7750ea04ae66212544e55.zip | |
Syntax changes
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/zones.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/zones.lua b/lua/zones.lua index 85eed79..d01d7e8 100644 --- a/lua/zones.lua +++ b/lua/zones.lua @@ -308,7 +308,7 @@ if SERVER then mins.z = math.min(pos.z, mins.z) end end - zone.bounds = {mins=mins,maxs=maxs} + zone.bounds = {["mins"]=mins,["maxs"]=maxs} if not newZone then hook.Run("OnZoneChanged",zone,zone.class,zones.GetID(zone)) end @@ -382,7 +382,7 @@ if SERVER then function zones.Split(id,areanum) local zone = zones.List[id] - local pts, h, bound = zone.points[areanum], zone.height[areanum], zone.bounds[areanum] + local pts, h, bound = zone.points[areanum], zone.height[areanum] table.remove(zone.points,areanum) table.remove(zone.height,areanum) |
