From f9df323cf660cbe40eab897f5fe5af891ba2b66a Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sun, 7 Feb 2016 19:38:48 -0500 Subject: Finished fireball spell (still needs recipe) --- gamemode/shared/player_spellcast.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gamemode/shared/player_spellcast.lua') diff --git a/gamemode/shared/player_spellcast.lua b/gamemode/shared/player_spellcast.lua index fcc9484..0cf2108 100644 --- a/gamemode/shared/player_spellcast.lua +++ b/gamemode/shared/player_spellcast.lua @@ -19,8 +19,8 @@ if(SERVER) then net.Receive("FinishedCasting",function(len,pl) if(pl.casting) then - print("Finished casting message received by server") - pl.casting(net.ReadInt(BITCOUNT)) + print("Finished casting message received by server: " .. pl:Nick()) + pl.casting(net.ReadInt(BITCOUNT),pl) pl.casting = nil end end) -- cgit v1.2.3-70-g09d2