More changes

This commit is contained in:
Filip Maj 2022-02-05 18:14:23 -05:00
parent 37d04344ae
commit f374ee3be9
35 changed files with 38 additions and 38 deletions

View file

@ -133,8 +133,8 @@ function onEventStarted(player, command, triggerName)
return;
end
if (weaponskillHandlers[command.actorId] ~= nil) then
weaponskillHandlers[command.actorId](player);
if (weaponskillHandlers[command.Id] ~= nil) then
weaponskillHandlers[command.Id](player);
else
player:SendMessage(0x20, "", "That weaponskill is not implemented yet.");
end