mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-11-22 21:17:33 +00:00
Disable live reload
This commit is contained in:
parent
a4314f3e91
commit
f0217ba856
4
init.lua
4
init.lua
@ -23,7 +23,7 @@ end
|
|||||||
local CameraAPI = require("noita-api.camera")
|
local CameraAPI = require("noita-api.camera")
|
||||||
local Coords = require("coordinates")
|
local Coords = require("coordinates")
|
||||||
local DebugAPI = require("noita-api.debug")
|
local DebugAPI = require("noita-api.debug")
|
||||||
local LiveReload = require("noita-api.live-reload")
|
--local LiveReload = require("noita-api.live-reload")
|
||||||
local Vec2 = require("noita-api.vec2")
|
local Vec2 = require("noita-api.vec2")
|
||||||
|
|
||||||
-----------------------
|
-----------------------
|
||||||
@ -96,7 +96,7 @@ function OnWorldPostUpdate()
|
|||||||
-- Reload mod every 60 frames.
|
-- Reload mod every 60 frames.
|
||||||
-- This allows live updates to the mod while Noita is running.
|
-- This allows live updates to the mod while Noita is running.
|
||||||
-- !!! DISABLE THIS LINE AND THE CORRESPONDING REQUIRE BEFORE COMMITTING !!!
|
-- !!! DISABLE THIS LINE AND THE CORRESPONDING REQUIRE BEFORE COMMITTING !!!
|
||||||
LiveReload:Reload("mods/noita-mapcap/", 60)
|
--LiveReload:Reload("mods/noita-mapcap/", 60)
|
||||||
end
|
end
|
||||||
|
|
||||||
---Called when the biome config is loaded.
|
---Called when the biome config is loaded.
|
||||||
|
Loading…
Reference in New Issue
Block a user