mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 14:36:40 -04:00
Minor correction
This commit is contained in:
parent
de64c57179
commit
a432661b8a
@ -183,7 +183,7 @@ namespace MWGui
|
||||
if (x > y)
|
||||
{
|
||||
float fSleepRestMod = world->getStore().get<ESM::GameSetting>().find("fSleepRestMod")->getFloat();
|
||||
mInterruptAt = int(fSleepRestMod * hoursToWait);
|
||||
mInterruptAt = hoursToWait - int(fSleepRestMod * hoursToWait);
|
||||
mInterruptCreatureList = region->mSleepList;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user