fixed mounting, removed deprecated game object from boot scene

This commit is contained in:
2025-07-31 09:03:48 +02:00
parent 363b20a067
commit 369f7099ad
2 changed files with 187 additions and 94 deletions

View File

@@ -460,8 +460,9 @@ namespace RebootKit.Engine.Simulation {
}
bool TryGetAttachmentSocket(string socketName, out AttachmentSocket socket) {
s_ActorLogger.Info("Getting attachment socket: " + socketName);
foreach (AttachmentSocket attachmentSocket in m_AttachmentSockets) {
if (attachmentSocket.socketName == socketName) {
if (attachmentSocket.socketName.Equals(socketName, StringComparison.Ordinal)) {
socket = attachmentSocket;
return true;
}