Remove this for now
This commit is contained in:
parent
ae86a5e9d5
commit
25f76702d5
@ -17,7 +17,7 @@ namespace input
|
|||||||
|
|
||||||
void cl_char_event_stub(const int local_client_num, const int key)
|
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",
|
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)
|
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",
|
ui_scripting::notify(down ? "keydown" : "keyup",
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user