summaryrefslogtreecommitdiffstats
path: root/src/server/Engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Engine.cpp')
-rw-r--r--src/server/Engine.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/Engine.cpp b/src/server/Engine.cpp
index b880abf7..bef2aa3c 100644
--- a/src/server/Engine.cpp
+++ b/src/server/Engine.cpp
@@ -312,12 +312,12 @@ Engine::load_properties() const
{
const ingen::URIs& uris = world()->uris();
- return { { uris.ingen_meanRunLoad,
- uris.forge.make(floorf(_run_load.mean) / 100.0f) },
- { uris.ingen_minRunLoad,
- uris.forge.make(_run_load.min / 100.0f) },
- { uris.ingen_maxRunLoad,
- uris.forge.make(_run_load.max / 100.0f) } };
+ return {{uris.ingen_meanRunLoad,
+ Atom(uris.forge.make(floorf(_run_load.mean) / 100.0f))},
+ {uris.ingen_minRunLoad,
+ Atom(uris.forge.make(_run_load.min / 100.0f))},
+ {uris.ingen_maxRunLoad,
+ Atom(uris.forge.make(_run_load.max / 100.0f))}};
}
bool