From a3a1e7a5b1a90ca3675c8a0a2c9bec6307ba17a6 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Wed, 13 Dec 2017 21:12:57 +0000 Subject: [PATCH] Changed name of server-interface to interface --- locale/ExpCore/server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/ExpCore/server.lua b/locale/ExpCore/server.lua index 8b04a5ff..1c541d93 100644 --- a/locale/ExpCore/server.lua +++ b/locale/ExpCore/server.lua @@ -181,7 +181,7 @@ function Server.interface(callback,use_thread,...) end if commands._expgaming then - commands.add_command('server-interface', 'Runs the given input from the script', {'code',true}, function(event,args) + commands.add_command('interface', 'Runs the given input from the script', {'code',true}, function(event,args) local callback = args.code if not string.find(callback,'%s') and not string.find(callback,'return') then callback = 'return '..callback end if game.player then callback = 'local player, surface, force = game.player, game.player.surface, game.player.force '..callback end