Kitteh6660 / Corruption-of-Champions-Mod

CoC source from fenoxo, modded by Kitteh6660
232 stars 97 forks source link

[Bug] Sleeping after 'Save to File' #1444

Open ElsaTheHobo opened 5 years ago

ElsaTheHobo commented 5 years ago

I have checked the following before submitting this issue:

Overview

After saving the game to file, sleeping fails on the first click. The second click (or entering and exiting stash) makes sleep happen, but health regen fails.

Game version

1.0.2_mod_1.4.17c release build

Expected behavior

Sleeping should work on the first click, with health being restored, regardless of whether or not the game has been saved to file in the current session.

Actual behavior

Sleeping fails on the first click, and then clicking a second time (or clicking into and out of a menu, such as "camp" or "stash") sleeps, but health doesn't regen.

How often can this be reproduced?

As far as I can tell, every time.

Steps to reproduce the issue

  1. Load/New Game
  2. Save to File
  3. Sleep
  4. Close and reopen CoC
  5. Repeat

save_file.zip