mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 13:04:05 +09:00
weather in weathercodex
This commit is contained in:
@@ -48,7 +48,7 @@ object TileSurvey {
|
||||
|
||||
proposals.forEach { (_, proposal) ->
|
||||
|
||||
if (INGAME.WORLD_UPDATE_TIMER % proposal.temporalGranularity == 0) {
|
||||
if (INGAME.WORLD_UPDATE_TIMER % proposal.temporalGranularity == 0L) {
|
||||
val for_x_start = floor(player.intTilewiseHitbox.centeredX - proposal.width / 2.0).toInt()
|
||||
val for_y_start = floor(player.intTilewiseHitbox.centeredY - proposal.height / 2.0).toInt()
|
||||
val for_x_end = ceil(player.intTilewiseHitbox.centeredX + proposal.width / 2.0).toInt()
|
||||
|
||||
Reference in New Issue
Block a user