Save PKM now uses interface{}

mini 3 years ago
parent 717af0c6d6
commit e5af9ef4d6

@ -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