Fixing inconsistency between day and nights on uni_int location

This commit is contained in:
Vladislav Khorev committed 2026-06-11 21:19:39 +03:00
1 parent f52b6872b0
commit a9f4025333
10 files changed
+154 -54

No files matched your search

+3
View File
@@ -106,6 +106,9 @@ function on_bed_sleep()
game_api.setIntValue("need_sleep", 0)
game_api.set_player_hp(200)
--game_api.set_day() - done in cutscene
local day = game_api.getIntValue("day")
game_api.setIntValue("day", day+1)
print("Setting to day 1----x")
end
end