mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
feat: save rules
This commit is contained in:
parent
6602584c13
commit
8c8c844dd4
4 changed files with 47 additions and 13 deletions
|
|
@ -360,7 +360,7 @@ void Engine::loadContent() {
|
|||
for (auto& pack : contentPacks) {
|
||||
ContentLoader(&pack, contentBuilder, *resPaths).load();
|
||||
load_configs(pack.folder);
|
||||
}
|
||||
}
|
||||
|
||||
content = contentBuilder.build();
|
||||
|
||||
|
|
@ -421,8 +421,6 @@ double Engine::getDelta() const {
|
|||
}
|
||||
|
||||
void Engine::setScreen(std::shared_ptr<Screen> screen) {
|
||||
// unblock all bindings
|
||||
Events::enableBindings();
|
||||
// reset audio channels (stop all sources)
|
||||
audio::reset_channel(audio::get_channel_index("regular"));
|
||||
audio::reset_channel(audio::get_channel_index("ambient"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue