forked from Mirrors/openclonk
Maze: Fix error sound when trying to cheat
parent
0b6e2015cf
commit
5f713e7bb9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue