Skip to content
Snippets Groups Projects
Commit 61d9b83c authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@2783 51575b47-30f0-44d4-a5cc-537603b46e54
parent 9bea3631
No related branches found
No related tags found
No related merge requests found
......@@ -580,6 +580,9 @@ function _M:changeLevel(lev, zone, keep_old_lev, force_down)
if config.settings.tome.autosave and ((left_zone and left_zone.short_name ~= "wilderness") or self.zone.save_per_level) and left_zone.short_name ~= self.zone.short_name then self:saveGame() end
self.player:onEnterLevelEnd(self.zone, self.level)
-- Day/Night cycle
if self.level.data.day_night then self.state:dayNightCycle() end
end
function _M:getPlayer()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment