Expose demo.freecam as replayfreecam

This commit is contained in:
indev committed 2024-09-24 16:05:22 +03:00
1 parent 14eec0c902
commit ff7f68f5b4
1 file changed
+5
+5
View File
@@ -9216,6 +9216,11 @@ int LUA_EnumLib(lua_State *L)
lua_glib_push_bool_getter(L, &demo.playback);
lua_call(L, 2, 0);
lua_pushcfunction(L, lua_glib_new_getter);
lua_pushliteral(L, "replayfreecam");
lua_glib_push_bool_getter(L, &demo.freecam);
lua_call(L, 2, 0);
if (!mathlib)
{
lua_pushcfunction(L, lua_glib_new_getter);