1
0
Selaa lähdekoodia

[fixed] (display bug) time cheat now properly shows daychange off of `temp_year` instead of `year`

LinaHirata 4 kuukautta sitten
vanhempi
säilyke
3efc556928
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      locations/Cheatmenu_din.qsrc

+ 2 - 2
locations/Cheatmenu_din.qsrc

@@ -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):