mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-06 17:58:05 +02:00
Raise a BUI message on any input
The bound wrapper is internal only and I don't want these filtered out by UI validation.
This commit is contained in:
@@ -107,6 +107,9 @@ public abstract partial class SharedUserInterfaceSystem : EntitySystem
|
||||
return;
|
||||
}
|
||||
|
||||
var received = new BoundUserInterfaceMessageReceivedEvent(sender, uid, msg.UiKey);
|
||||
RaiseLocalEvent(ref received);
|
||||
|
||||
// If it's not an open message check we're even a subscriber.
|
||||
if (msg.Message is not OpenBoundInterfaceMessage &&
|
||||
(!uiComp.Actors.TryGetValue(msg.UiKey, out var actors) ||
|
||||
|
||||
Reference in New Issue
Block a user