r3-next/save.gd
2024-10-29 14:37:39 -07:00

7 lines
356 B
GDScript

extends Node
func _init():
var saveinit = Global.levelmax[0]+","+Global.levelmax[1]+","+Global.levelmax[2]+","+Global.levelmax[3]+","+Global.levelmax[4]+","+Global.levelmax[5]+","+Global.levelmax[6]+","+Global.levelmax[7]+","+Global.levelmax[8]
var file = File.new()
file.open(Global.hiscoresfile, File.WRITE)
file.store_string(saveinit)
file.close()