From 25ee6cf6b135b24c0f21084671ab5d3acf5d0353 Mon Sep 17 00:00:00 2001 From: Ludvig Fors <ludfo119@student.liu.se> Date: Fri, 22 Nov 2019 15:36:03 +0100 Subject: [PATCH] Changed tabs to 4 spaces. Added documentation in docs/ for IDAbot.send_chat --- python-api-src/library.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-api-src/library.cpp b/python-api-src/library.cpp index dbe34443e..f32f6b146 100644 --- a/python-api-src/library.cpp +++ b/python-api-src/library.cpp @@ -74,7 +74,7 @@ PYBIND11_MODULE(library, m) .def(py::init()) .def("on_game_start", &IDABot::OnGameStart) .def("on_step", &IDABot::OnStep) - .def("send_chat", &IDABot::SendChat, "Send a message to the game chat", "message"_a) + .def("send_chat", &IDABot::SendChat, "Send a message to the game chat", "message"_a) .def("get_all_units", &IDABot::GetAllUnits, "Returns a list of all units") .def("get_my_units", &IDABot::GetMyUnits, "Returns a list of all units beloning to the player") .def("get_player_race", &IDABot::GetPlayerRace) -- GitLab