Save PKM now uses interface{}

main
Minizbot2012 3 years ago
parent 1a3362ea75
commit a604c471c2
No known key found for this signature in database
GPG Key ID: 977C8ADE12361917

@ -139,7 +139,7 @@ func LoadKM(file string) *KeyMap {
}
//SavePKMKeymap saves an orb after edit
func SavePKMKeymap(mapped *PKM, file io.WriteCloser) {
func SavePKMKeymap(mapped interface{}, file io.WriteCloser) {
binary.Write(file, binary.LittleEndian, mapped)
file.Close()
}

Loading…
Cancel
Save