mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-02 23:40:26 +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:
+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