Small update but it changes the API

This commit is contained in:
2025-10-02 14:33:59 +01:00
parent ee03eab4c1
commit 502bf03835
+2 -2
View File
@@ -69,8 +69,8 @@ func (sdk *BeamNGSDK) ReadData() error {
return nil
}
func (sdk *BeamNGSDK) Close() {
_ = sdk.Conn.Close()
func (sdk *BeamNGSDK) Close() error {
return sdk.Conn.Close()
}
// Init initializes a BeamNG SDK struct