From f29ea87e01897eab079f1f1b0f0ee509b8d0830d Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Tue, 19 Feb 2019 18:47:51 +0000 Subject: [PATCH] If this doesnt work idk whats wrong --- modules/ExpGamingLib/control.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ExpGamingLib/control.lua b/modules/ExpGamingLib/control.lua index b6687802..67d5731d 100644 --- a/modules/ExpGamingLib/control.lua +++ b/modules/ExpGamingLib/control.lua @@ -133,8 +133,8 @@ function ExpLib.player_return(rtn,colour,player) if not player then error('Invalid Player given to player_return',2) end -- plays a nice sound that is different to normal message sound player.play_sound{path='utility/scenario_message'} - returnWith(function() player.print(rtn,colour) end) - else returnWith(rcon.print) end + returnWith(function(newRtn) player.print(newRtn,colour) end) + else returnWith(function(newRtn) rcon.print(newRtn) end) end end --- Convert ticks to hours