From 1b572511daa17d39b8db2b9b5ca367ac995a76ff Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 17 Jan 2016 12:57:42 +0100 Subject: [PATCH] Prevent zonebuilder and dedi conflicts. --- src/Components/Modules/ZoneBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/ZoneBuilder.cpp b/src/Components/Modules/ZoneBuilder.cpp index 2e34ea41..b514f15d 100644 --- a/src/Components/Modules/ZoneBuilder.cpp +++ b/src/Components/Modules/ZoneBuilder.cpp @@ -401,7 +401,7 @@ namespace Components bool ZoneBuilder::IsEnabled() { - return Flags::HasFlag("zonebuilder"); + return (Flags::HasFlag("zonebuilder") && !Dedicated::IsDedicated()); } // TODO: Remove and replace with loadzone command