- [FIX] Bug that prevented saving
This commit is contained in:
@@ -39,8 +39,8 @@ mapa={
|
|||||||
|
|
||||||
save = function(filename)
|
save = function(filename)
|
||||||
mapa.name=filename
|
mapa.name=filename
|
||||||
|
file = io.open("data/"..filename, "w")
|
||||||
if file then
|
if file then
|
||||||
file = io.open("data/"..filename, "w")
|
|
||||||
io.output(file)
|
io.output(file)
|
||||||
io.write(mapa.w.."\n")
|
io.write(mapa.w.."\n")
|
||||||
io.write(mapa.h.."\n")
|
io.write(mapa.h.."\n")
|
||||||
|
|||||||
Reference in New Issue
Block a user