aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/love/love.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/love/love.c')
-rw-r--r--src/love/love.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/love/love.c b/src/love/love.c
index 7d50917..9c24cd3 100644
--- a/src/love/love.c
+++ b/src/love/love.c
@@ -506,11 +506,18 @@ static Eina_Bool _delLuaSL(void *data, int type, Ecore_Con_Event_Server_Del *ev)
506 506
507static Eina_Bool _addClient(void *data, int type, Ecore_Con_Event_Client_Add *ev) 507static Eina_Bool _addClient(void *data, int type, Ecore_Con_Event_Client_Add *ev)
508{ 508{
509 gameGlobals *ourGlobals = data; 509 gameGlobals *ourGlobals = data;
510 510
511 ourGlobals->client = ev->client; 511 ourGlobals->client = ev->client;
512 ecore_con_client_timeout_set(ev->client, 0); 512 ecore_con_client_timeout_set(ev->client, 0);
513 return ECORE_CALLBACK_RENEW; 513
514 if (ourGlobals->client)
515 {
516 // TODO - Sending the currently hard coded ownerKey here, should actually deal with logging in / hypergrid TP style things instead.
517 sendBack(ourGlobals->client, ownerKey, "loadSim('file://%s/Test%%20sim')", prefix_data_get());
518 }
519
520 return ECORE_CALLBACK_RENEW;
514} 521}
515 522
516static Eina_Bool _dataClient(void *data, int type, Ecore_Con_Event_Client_Data *ev) 523static Eina_Bool _dataClient(void *data, int type, Ecore_Con_Event_Client_Data *ev)