From ef7f04aeca64dea429c01aff79eee5c6bac6b9a8 Mon Sep 17 00:00:00 2001
From: "Sopi (sofab194)" <trollis76@hotmail.com>
Date: Wed, 14 Nov 2018 16:14:07 +0100
Subject: [PATCH] added current_frame to IDABot

simple python edit
---
 python-api-src/library.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/python-api-src/library.cpp b/python-api-src/library.cpp
index 50ec422ac..e14a4c3c7 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");
 
-- 
GitLab