Files
7d2dXG/XG-Rebirth/Mods/0A-KFCommonUtilityLib/Scripts/MinEventActions/MinEventActionBroadcastPlaySoundLocal.cs
2025-05-30 00:19:27 +09:30

9 lines
302 B
C#

public class MinEventActionBroadcastPlaySoundLocal : MinEventActionPlaySound
{
public override bool CanExecute(MinEventTypes _eventType, MinEventParams _params)
{
return targetType == TargetTypes.self && !_params.Self.isEntityRemote && base.CanExecute(_eventType, _params);
}
}