1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-25 15:03:07 +00:00
This commit is contained in:
Sebastian Fieber 2025-11-30 16:32:56 +01:00 committed by Alexei Kotov
parent 647d655f2e
commit 1b36f757ed

View file

@ -293,9 +293,7 @@ namespace MWLua
api["remove"] = [context](std::string vfxId) {
context.mLuaManager->addAction(
[vfxId = std::move(vfxId)] {
MWBase::Environment::get().getWorld()->removeEffect(vfxId);
},
[vfxId = std::move(vfxId)] { MWBase::Environment::get().getWorld()->removeEffect(vfxId); },
"openmw.vfx.remove");
};