|
@@ -1706,9 +1706,9 @@ $cheatmenu['time'] = {
|
|
|
gs 'outdoors', 'temp_set'
|
|
|
gs 'stat'
|
|
|
|
|
|
- temp_daystart = (year - 2016) * 365
|
|
|
+ temp_daystart = (temp_year - 2016) * 365
|
|
|
!! leap year correction
|
|
|
- temp_daystart += (year - 2013) / 4
|
|
|
+ temp_daystart += (temp_year - 2013) / 4
|
|
|
|
|
|
copyarr 'temp_monthsend', 'monthsend'
|
|
|
if ((temp_year mod 4 = 0) and (temp_year mod 100 ! 0)) or (temp_year mod 400 = 0):
|