aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL/src/LuaSL_threads.c')
-rw-r--r--LuaSL/src/LuaSL_threads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/LuaSL/src/LuaSL_threads.c b/LuaSL/src/LuaSL_threads.c
index aec5ed6..234a7c5 100644
--- a/LuaSL/src/LuaSL_threads.c
+++ b/LuaSL/src/LuaSL_threads.c
@@ -392,7 +392,7 @@ const char *sendToChannelErrors[] =
392}; 392};
393 393
394/* send a message to a lua process */ 394/* send a message to a lua process */
395const char *sendToChannel(gameGlobals *game, const char *SID, const char *message) 395const char *sendToChannel(gameGlobals *ourGlobals, const char *SID, const char *message)
396{ 396{
397 const char *result = NULL; 397 const char *result = NULL;
398 script *dstlp; 398 script *dstlp;
@@ -401,7 +401,7 @@ const char *sendToChannel(gameGlobals *game, const char *SID, const char *messag
401 pthread_mutex_lock(&mutex_channel); 401 pthread_mutex_lock(&mutex_channel);
402 402
403 // Add the message to the queue. 403 // Add the message to the queue.
404 if ((dstlp = eina_hash_find(game->scripts, SID))) 404 if ((dstlp = eina_hash_find(ourGlobals->scripts, SID)))
405 { 405 {
406 scriptMessage *sm = NULL; 406 scriptMessage *sm = NULL;
407 407