Skip to content

Commit

Permalink
fix controller var
Browse files Browse the repository at this point in the history
  • Loading branch information
mehah committed Jul 11, 2024
1 parent 96e6f43 commit 08f62a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/game_minimap/minimap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function onChangeWorldTime(hour, minute)
m = minute
}

controller:scheduleEvent(function()
mapController:scheduleEvent(function()
local nextH = currentDayTime.h
local nextM = currentDayTime.m + 12
if nextM >= 60 then
Expand Down

0 comments on commit 08f62a3

Please sign in to comment.