From 34ec6b25f956d11769bbcdea2dabdb1ffe2a3ca2 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 22 Jun 2017 11:53:15 -0400 Subject: [PATCH] Fixed a slight bug in love2d.lua compat file 1.7.1 --- multi/compat/love2d.lua | 26 +++++++++++++------------- multi/init.lua | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/multi/compat/love2d.lua b/multi/compat/love2d.lua index ba59f3e..c775033 100644 --- a/multi/compat/love2d.lua +++ b/multi/compat/love2d.lua @@ -1,18 +1,18 @@ require("multi.all") os.sleep=love.timer.sleep -function bin.load(file,s,r) - content, size = love.filesystem.read(file) - local temp=bin.new(content) - temp.filepath=file - return temp -end -function bin:tofile(filename) - if not(filename) or self.Stream then return nil end - love.filesystem.write(filename,self.data) -end -function bin.stream(file,l) - error("Sorry streaming is not available when using love2d :(, I am looking for a solution though :)") -end +--~ function bin.load(file,s,r) +--~ content, size = love.filesystem.read(file) +--~ local temp=bin.new(content) +--~ temp.filepath=file +--~ return temp +--~ end +--~ function bin:tofile(filename) +--~ if not(filename) or self.Stream then return nil end +--~ love.filesystem.write(filename,self.data) +--~ end +--~ function bin.stream(file,l) +--~ error("Sorry streaming is not available when using love2d :(, I am looking for a solution though :)") +--~ end function love.run() if love.math then love.math.setRandomSeed(os.time()) diff --git a/multi/init.lua b/multi/init.lua index 316ee50..f0d0461 100644 --- a/multi/init.lua +++ b/multi/init.lua @@ -22,7 +22,7 @@ function print(...) end end multi = {} -multi.Version={1,6,1} +multi.Version={1,7,1} multi.stage='stable' multi.__index = multi multi.Mainloop={}