Moving console access to python side, so Windows users won't brick their session.

This commit is contained in:
John McCardle 2025-03-08 21:12:40 -05:00
commit 5b259d0b38
2 changed files with 3 additions and 2 deletions

View file

@ -251,7 +251,7 @@ PyObject* McRFPy_API::_registerInputAction(PyObject *self, PyObject *args)
std::cout << "Unregistering\n";
success = game->currentScene()->unregisterActionInjected(action_code, std::string(actionstr) + "_py");
} else {
std::cout << "Registering" << actionstr << "_py to " << action_code << "\n";
std::cout << "Registering " << actionstr << "_py to " << action_code << "\n";
success = game->currentScene()->registerActionInjected(action_code, std::string(actionstr) + "_py");
}