Local endpoint added successful and negative ownerId implemented

This commit is contained in:
micialware committed 2025-05-05 16:30:23 +03:00
1 parent cc5f82c7e7
commit ff4c3ecee3
27 files changed
+110 -114

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ namespace mROA.Implementation.Backend
public IChannelInteractionModule GetInteraction(int id)
{
return _connections!.GetValueOrDefault(id, null) ?? throw new Exception("No connection found");
return _connections!.GetValueOrDefault(id, null) ?? _connections!.GetValueOrDefault(-id, null) ?? throw new Exception("No connection found");
}
public event ConnectionHandler? OnConnected;