[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:
Kinglykrab
2022-03-12 16:11:27 -05:00
committed by GitHub
parent fb2aee1827
commit e5f924d1d5
3 changed files with 18 additions and 4 deletions
+3 -1
View File
@@ -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;
}