mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-10 17:38:08 +00:00
dCinema improvements
* Visiblity and effect records * Recorder will catch effects from behaviors * Documentation for setting up a scene to play automatically. * Documentation for server-side preconditions.
This commit is contained in:
@@ -34,7 +34,13 @@ void dConfig::ReloadConfig() {
|
||||
}
|
||||
|
||||
const std::string& dConfig::GetValue(std::string key) {
|
||||
return this->m_ConfigValues[key];
|
||||
static std::string emptyString{};
|
||||
|
||||
const auto& it = this->m_ConfigValues.find(key);
|
||||
|
||||
if (it == this->m_ConfigValues.end()) return emptyString;
|
||||
|
||||
return it->second;
|
||||
}
|
||||
|
||||
void dConfig::ProcessLine(const std::string& line) {
|
||||
|
Reference in New Issue
Block a user