From 8dedc5446832097cffc7c14034b22a7abab2b62c Mon Sep 17 00:00:00 2001 From: Evil Factory <36804725+evilfactory@users.noreply.github.com> Date: Sun, 25 Jan 2026 17:35:26 -0300 Subject: [PATCH] Add Any for Platform and Target enums --- .../SharedSource/LuaCs/Data/EPlatformsTargets.cs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Data/EPlatformsTargets.cs b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Data/EPlatformsTargets.cs index aaf289f8e..56d192dd4 100644 --- a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Data/EPlatformsTargets.cs +++ b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Data/EPlatformsTargets.cs @@ -6,14 +6,16 @@ namespace Barotrauma.LuaCs.Data; [Flags] public enum Platform { - Linux=0x1, - OSX=0x2, - Windows=0x4 + Linux = 0x1, + OSX = 0x2, + Windows = 0x4, + Any = Linux | OSX | Windows } [Flags] public enum Target { - Client=0x1, - Server=0x2 + Client = 0x1, + Server = 0x2, + Any = Client | Server }