summaryrefslogtreecommitdiff
path: root/lua/autorun
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-08-24 21:05:43 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2017-08-24 21:05:43 -0400
commit9a5aaf34dc0b7cd11437600a088fe8883a820a95 (patch)
tree1a7eed8f98180760084ae668d57592a729167af3 /lua/autorun
parentcda70b47f13623d086188f686c005a017ccc5b25 (diff)
downloadartery_editor-9a5aaf34dc0b7cd11437600a088fe8883a820a95.tar.gz
artery_editor-9a5aaf34dc0b7cd11437600a088fe8883a820a95.tar.bz2
artery_editor-9a5aaf34dc0b7cd11437600a088fe8883a820a95.zip
Fixed rename of info_huntable clashing
Diffstat (limited to 'lua/autorun')
-rw-r--r--lua/autorun/zone_town.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/autorun/zone_town.lua b/lua/autorun/zone_town.lua
index a068021..abfc65b 100644
--- a/lua/autorun/zone_town.lua
+++ b/lua/autorun/zone_town.lua
@@ -57,6 +57,9 @@ if SERVER then
PrintTable(new)
if not ply:IsAdmin() then return end
zones.List[id].npctbl = new
+ if new.Name then
+ zone.Name = new.Name
+ end
zones.Sync()
end)
end