Jump to content

[41.78.16] [Solo / Multiplayer] Sandbox option "Day Length" works incorrectly


Mr_kerun

Recommended Posts

41.78.16Both
	• Host
	• No
	• Still occurs on new save
	• Reproduction steps:
         1. Create new mod with code below (where first, second: current cut time), with EveryOneMinute event
         2. Start new game with 1 hour day length, make a laceration, wait a few game minutes and write the values (should be approximately 0.00012)
         3. Start new game with 2 hours day length, make a laceration, wait a few game minutes and write the values

After step 3 we should receive approximately value 0.00006, but we receiving approximately value 0.00024 (Which speeds up the healing process by 2 times, although it should be the other way around)

As far as I understand, it works incorrectly with all values except hunger, thirst and sleepiness.

 

 

local first
local second
 
if not first then
    first = cutTime
    return
end
 
if not second then
    second = cutTime
    print(first - second)
    return
end
 
first, second = nil, nil
Edited by Mr_kerun
end
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...