Skip to content

Commit

Permalink
Fixed slap command
Browse files Browse the repository at this point in the history
  • Loading branch information
timosmit committed May 12, 2020
1 parent 32fb287 commit bcf8706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luascripts/wolfadmin/commands/admin/slap.lua
Expand Up @@ -63,7 +63,7 @@ function commandSlap(clientId, command, victim)
return true
end

admin.slap(cmdClient, 20)
admin.slapPlayer(cmdClient, 20)

et.trap_SendConsoleCommand(et.EXEC_APPEND, "cchat -1 \"^dslap: ^7"..players.getName(cmdClient).." ^9was slapped.\";")

Expand Down

0 comments on commit bcf8706

Please sign in to comment.