aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/player_spellcast.lua
diff options
context:
space:
mode:
authorAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2016-02-07 19:38:48 -0500
committerAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2016-02-07 19:38:48 -0500
commitf9df323cf660cbe40eab897f5fe5af891ba2b66a (patch)
treec21445ecce2682a3a67391b5d5be2bfa66d90e67 /gamemode/shared/player_spellcast.lua
parent02a1f048efa1b6d4132860a1919e127cca1e2167 (diff)
downloadwintersurvival2-f9df323cf660cbe40eab897f5fe5af891ba2b66a.tar.gz
wintersurvival2-f9df323cf660cbe40eab897f5fe5af891ba2b66a.tar.bz2
wintersurvival2-f9df323cf660cbe40eab897f5fe5af891ba2b66a.zip
Finished fireball spell (still needs recipe)
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)