From cacd494ea27e01b7a2162e655e7370429ff86d88 Mon Sep 17 00:00:00 2001 From: Xottab-DUTY Date: Sun, 7 Apr 2024 01:03:09 +0500 Subject: [PATCH] xrGame/ui/UIWindow_script.cpp: export with_battleye property to scripts (#382) It's always false because BattlEye is proprietary technology and it's support in S.T.A.L.K.E.R. was discontinued anyway. --- src/xrGame/ui/UIWindow_script.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xrGame/ui/UIWindow_script.cpp b/src/xrGame/ui/UIWindow_script.cpp index f756ca0a981..8705c5df9a3 100644 --- a/src/xrGame/ui/UIWindow_script.cpp +++ b/src/xrGame/ui/UIWindow_script.cpp @@ -105,6 +105,7 @@ SCRIPT_EXPORT(SServerFilters, (), .def_readwrite("with_pass", &SServerFilters::with_pass) .def_readwrite("without_pass", &SServerFilters::without_pass) .def_readwrite("without_ff", &SServerFilters::without_ff) + .property ("with_battleye", +[] { return false; }) .def_readwrite("listen_servers", &SServerFilters::listen_servers) ]; });