Skip to content

Commit

Permalink
Fixed OnAbilityUsed event
Browse files Browse the repository at this point in the history
  • Loading branch information
bmddota committed Jun 25, 2015
1 parent d5b2d0b commit 185e079
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This library allow for easily delayed/timed actions without the messiness of thi
This library can be used for advancted physics/motion/collision of units. See [PhysicsReadme.md](https://github.com/bmddota/barebones/blob/source2/PhysicsReadme.md) for more information.

####projectiles.lua
This library can be used for advanced 3D projectile systems. Documentation is currently limited.
This library can be used for advanced 3D projectile systems. See [CollidersReadme.md](https://github.com/bmddota/barebones/blob/source2/CollidersReadme.md) for more information.

####notifications.lua
This library can be used to send panorama notifications to individuals/teams/everyone in your game. See internals/notificationsExample.lua for examples.
Expand Down
2 changes: 1 addition & 1 deletion game/dota_addons/barebones/scripts/vscripts/events.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function GameMode:OnAbilityUsed(keys)
DebugPrint('[BAREBONES] AbilityUsed')
DebugPrintTable(keys)

local player = EntIndexToHScript(keys.PlayerID)
local player = PlayerResource:GetPlayer(keys.PlayerID)
local abilityname = keys.abilityname
end

Expand Down

0 comments on commit 185e079

Please sign in to comment.