Skip to content

Commit

Permalink
for some reason, removing the print function, broke some mod folder r…
Browse files Browse the repository at this point in the history
…elated things?????
  • Loading branch information
GuglioIsStupid committed May 29, 2024
1 parent 2d45c78 commit 51925d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/love/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
------------------------------------------------------------------------------]]
__VERSION__ = love.filesystem.read("version.txt")
if love.filesystem.isFused() then
--[[ if love.filesystem.isFused() then
function print() end
else
_debug = true
end -- print functions tend the make the game lag when in update functions, so we do this to prevent that
end ]]debug=true -- print functions tend the make the game lag when in update functions, so we do this to prevent that
function uitextflarge(text,x,y,limit,align,hovered,r,sx,sy,ox,oy,kx,ky)
local x = x or 0
local y = y or 0
Expand Down Expand Up @@ -470,8 +470,6 @@ function love.load()
importMods.loadAllMods()
end

love.audio.setVolume(0)

Gamestate.switch(menu)

love.setFpsCap(settings.fpsCap)
Expand Down
1 change: 1 addition & 0 deletions src/love/modules/deprecated.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ function weeks.legacyGenerateNotes(self, chart)
self.overrideHealthbarText = importMods.uiHealthbarTextMod or nil
self.overrideDrawHealthbar = importMods.uiHealthbarMod or nil
local chart = getFilePath(chart)
print(chart
chart = json.decode(love.filesystem.read(chart)).song

for i = 1, #chart.notes do
Expand Down

0 comments on commit 51925d0

Please sign in to comment.