aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/player_spellcast.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/shared/player_spellcast.lua')
-rw-r--r--gamemode/shared/player_spellcast.lua4
1 files changed, 2 insertions, 2 deletions
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)