summaryrefslogtreecommitdiff
path: root/lua/autorun
diff options
context:
space:
mode:
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