forked from rosebudai/OpenRCT2-Web
Fix #12776: Mistake in API documentation
Elapsed months after one year was mistakenly said to be 16. Now it states the correct value at the beginning of the game and the increase every month and year.
This commit is contained in:
1 parent
45d5e8a745
commit
2fb083f72c
1 file changed
+2
-1
Vendored
+2
-1
@@ -371,7 +371,8 @@ declare global {
|
||||
*/
|
||||
readonly ticksElapsed: number;
|
||||
/**
|
||||
* The total number of months that have elapsed. This will equate to 16 on 1st March, Year 2.
|
||||
* The total number of months that have elapsed. This will equate to 0 in March, Year 1 and
|
||||
* increase by 1 every month, i.e. by 8 every year.
|
||||
* Note: this represents the current date and may be reset by cheats or scripts.
|
||||
*/
|
||||
monthsElapsed: number;
|
||||
|
||||
Reference in new issue
Block a user