mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 02:31:03 +00:00
[Quest API] Allow EVENT_ZONE to be parsed as non-zero to prevent zoning. (#2052)
- This will allow server operators to prevent zoning to or from a specific zone based on whatever criteria they want.
This commit is contained in:
+3
-1
@@ -1443,7 +1443,9 @@ void PerlembParser::ExportEventVariables(
|
||||
}
|
||||
|
||||
case EVENT_ZONE: {
|
||||
ExportVar(package_name.c_str(), "target_zone_id", data);
|
||||
Seperator sep(data);
|
||||
ExportVar(package_name.c_str(), "from_zone_id", sep.arg[0]);
|
||||
ExportVar(package_name.c_str(), "target_zone_id", sep.arg[1]);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user