From 6e7d1504100fb4a3ce7c0b97f14a30b8b77c4294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edvin=20Bergstr=C3=B6m?= <edvbe696@student.liu.se> Date: Mon, 24 Aug 2020 11:18:09 +0200 Subject: [PATCH] Functionality needed for the tournament --- python-api-src/library.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/python-api-src/library.cpp b/python-api-src/library.cpp index 0770075..1121edc 100644 --- a/python-api-src/library.cpp +++ b/python-api-src/library.cpp @@ -31,6 +31,7 @@ PYBIND11_MODULE(library, m) .def("load_replay_list",&sc2::Coordinator::SetReplayPath, "replay_path"_a) .def("add_replay_observer",&sc2::Coordinator::AddReplayObserver, "replay_observer"_a) .def("set_replay_perspective",&sc2::Coordinator::SetReplayPerspective, "perspective"_a) + .def("leave_game", &sc2::Coordinator::LeaveGame) ; py::enum_<sc2::Race>(m, "Race") -- GitLab