Index: ps/trunk/binaries/data/mods/public/gui/session/messages.js =================================================================== --- ps/trunk/binaries/data/mods/public/gui/session/messages.js +++ ps/trunk/binaries/data/mods/public/gui/session/messages.js @@ -80,14 +80,6 @@ "text": msg.text }); }, - "aichat": msg => { - addChatMessage({ - "type": "message", - "guid": msg.guid, - "text": msg.text, - "translate": true - }); - }, "gamesetup": msg => {}, // Needed for autostart "start": msg => {} }; @@ -104,18 +96,6 @@ */ var g_NotificationsTypes = { - "chat": function(notification, player) - { - let message = { - "type": "message", - "guid": findGuidForPlayerID(player) || -1, - "text": notification.message - }; - if (message.guid == -1) - message.player = player; - - addChatMessage(message); - }, "aichat": function(notification, player) { let message = { Index: ps/trunk/binaries/data/mods/public/simulation/helpers/Commands.js =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/helpers/Commands.js +++ ps/trunk/binaries/data/mods/public/simulation/helpers/Commands.js @@ -51,16 +51,6 @@ } var g_Commands = { - "debug-print": function(player, cmd, data) - { - print(cmd.message); - }, - - "chat": function(player, cmd, data) - { - var cmpGuiInterface = Engine.QueryInterface(SYSTEM_ENTITY, IID_GuiInterface); - cmpGuiInterface.PushNotification({ "type": cmd.type, "players": [player], "message": cmd.message }); - }, "aichat": function(player, cmd, data) {