From 51530a45ad2c28bc11e10c7892e9544739d0b8d7 Mon Sep 17 00:00:00 2001 From: Xottab-DUTY Date: Wed, 1 Nov 2023 19:53:13 +0500 Subject: [PATCH] Export get_bleeding function to scripts (#382) --- src/xrGame/script_game_object_script2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrGame/script_game_object_script2.cpp b/src/xrGame/script_game_object_script2.cpp index a6a0d902982..fdf38acfcc3 100644 --- a/src/xrGame/script_game_object_script2.cpp +++ b/src/xrGame/script_game_object_script2.cpp @@ -82,7 +82,7 @@ luabind::class_& script_register_game_object1(luabind::class_ .property("morale", &CScriptGameObject::GetMorale, &CScriptGameObject::SetMorale) .property("bleeding", &CScriptGameObject::GetBleeding, &CScriptGameObject::SetBleeding) - // .def("get_bleeding", &CScriptGameObject::GetBleeding) + .def("get_bleeding", &CScriptGameObject::GetBleeding) .def("center", &CScriptGameObject::Center) .def("position", &CScriptGameObject::Position) .def("direction", &CScriptGameObject::Direction)