mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 13:55:04 +02:00
Remove isMobile log output
This commit is contained in:
@@ -836,7 +836,7 @@ export function switchTool(client: IClient, reverse: boolean) {
|
|||||||
const newIndex = reverse ? (index === -1 ? tools.length - 1 : index - 1) : ((index + 1) % tools.length);
|
const newIndex = reverse ? (index === -1 ? tools.length - 1 : index - 1) : ((index + 1) % tools.length);
|
||||||
const tool = tools[newIndex];
|
const tool = tools[newIndex];
|
||||||
holdItem(client.pony, tool.type);
|
holdItem(client.pony, tool.type);
|
||||||
console.log('isMobile ' + client.isMobile);
|
// console.log('isMobile ' + client.isMobile);
|
||||||
const text = (client.isMobile && tool.textMobile) ? tool.textMobile : tool.text;
|
const text = (client.isMobile && tool.textMobile) ? tool.textMobile : tool.text;
|
||||||
saySystem(client, text);
|
saySystem(client, text);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user