mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 06:37:19 +00:00
[Commands] Add #zonevariable Command (#4882)
* [Commands] Add #zonevariable Command * Update zonevariable.cpp * Argument safety --------- Co-authored-by: Chris Miles <akkadius1@gmail.com>
This commit is contained in:
1 parent
888a88f966
commit
f29478c105
8 files changed
+116
-8
No files matched your search
+6
-1
@@ -3225,9 +3225,14 @@ void Zone::DisableRespawnTimers()
|
||||
}
|
||||
}
|
||||
|
||||
void Zone::ClearVariables()
|
||||
bool Zone::ClearVariables()
|
||||
{
|
||||
if (m_zone_variables.empty()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
m_zone_variables.clear();
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Zone::DeleteVariable(const std::string& variable_name)
|
||||
|
||||
Reference in new issue
Block a user