Skip to content
Snippets Groups Projects
Commit 4b10219b authored by Jonathan Öhrling's avatar Jonathan Öhrling
Browse files

Fixed invalid code in library.cpp that didn't reflect the changes made in other files.

parent 6d2d136e
No related branches found
No related tags found
No related merge requests found
......@@ -79,9 +79,9 @@ PYBIND11_MODULE(library, m)
.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("use_ability", &IDABot::CallUnitCommand, "Use an ability with the given unit")
.def("use_ability", &IDABot::CallUnitCommandWithPoint, "Use ability at point with the given unit")
.def("use_ability", &IDABot::CallUnitCommandWithTarget, "Use ability at target with the given unit");
.def("use_ability", &IDABot::UseAbility, "Use an ability with the given unit")
.def("use_ability", &IDABot::UseAbilityWithPoint, "Use ability at point with the given unit")
.def("use_ability", &IDABot::UseAbilityWithTarget, "Use ability at target with the given unit");
py::class_<sc2::PlayerSetup>(m, "PlayerSetup");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment