diff --git a/python-api-src/library.cpp b/python-api-src/library.cpp index 50ec422acb00f0f77d3aa241b671a3fdd45b89fa..e14a4c3c7c6f7b5ead20b4c77cc6add217731864 100644 --- a/python-api-src/library.cpp +++ b/python-api-src/library.cpp @@ -78,7 +78,8 @@ PYBIND11_MODULE(library, m) .def_property_readonly("minerals", &IDABot::GetMinerals, "How much minerals we currently have") .def_property_readonly("current_supply", &IDABot::GetCurrentSupply, "How much supply we are currently using") .def_property_readonly("max_supply", &IDABot::GetMaxSupply, "How much supply we can currently use") - .def_property_readonly("gas", &IDABot::GetGas, "How much gas we currently have"); + .def_property_readonly("gas", &IDABot::GetGas, "How much gas we currently have") + .def_property_readonly("current_frame", &IDABot::GetCurrentFrame, "Which frame we are currently on"); py::class_<sc2::PlayerSetup>(m, "PlayerSetup");