mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-29 17:06:43 +00:00
Minor correction
This commit is contained in:
parent
de64c57179
commit
a432661b8a
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ namespace MWGui
|
||||||
if (x > y)
|
if (x > y)
|
||||||
{
|
{
|
||||||
float fSleepRestMod = world->getStore().get<ESM::GameSetting>().find("fSleepRestMod")->getFloat();
|
float fSleepRestMod = world->getStore().get<ESM::GameSetting>().find("fSleepRestMod")->getFloat();
|
||||||
mInterruptAt = int(fSleepRestMod * hoursToWait);
|
mInterruptAt = hoursToWait - int(fSleepRestMod * hoursToWait);
|
||||||
mInterruptCreatureList = region->mSleepList;
|
mInterruptCreatureList = region->mSleepList;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue