Remove this for now

This commit is contained in:
Federico Cecchetto 2022-06-05 21:50:12 +02:00
parent ae86a5e9d5
commit 25f76702d5

View File

@ -17,7 +17,7 @@ namespace input
void cl_char_event_stub(const int local_client_num, const int key)
{
if (ui_scripting::lui_running())
if (game::environment::is_sp() && ui_scripting::lui_running())
{
ui_scripting::notify("keypress",
{
@ -36,7 +36,7 @@ namespace input
void cl_key_event_stub(const int local_client_num, const int key, const int down)
{
if (ui_scripting::lui_running())
if (game::environment::is_sp() && ui_scripting::lui_running())
{
ui_scripting::notify(down ? "keydown" : "keyup",
{