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