Maze: Fix error sound when trying to cheat

objectmenu
Sven Eberhardt 2016-01-16 22:03:35 -05:00
parent 0b6e2015cf
commit 5f713e7bb9
1 changed files with 2 additions and 2 deletions

View File

@ -2,12 +2,12 @@
Override screenshot functionality
--*/
global func PlayerControl(int plr, int ctrl)
global func PlayerControl(int plr, int ctrl, ...)
{
if (ctrl == CON_TryScreenshot)
{
CustomMessage(Format("$MsgCheater$", GetTaggedPlayerName(plr)));
Sound("Error", true);
Sound("UI::Error", true);
//var crew = GetCursor(plr); - used for cheating
//if (crew) crew->Punch(crew, 50);
return true;