1
0

Fixed /stop command. The console still doesn't get closed though(FS#249).

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1637 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
nielsbreu@gmail.com 2013-07-01 11:42:59 +00:00
parent 0ba7a42762
commit 3a6e9983f5

View File

@ -1,6 +1,6 @@
function HandleStopCommand( Split, Player )
Server = cRoot:Get():GetServer()
Server:SendMessage( cChatColor.Green .. "Stopping the server..." )
cRoot:Get():ServerCommand("stop")
cRoot:Get():QueueExecuteConsoleCommand("stop")
return true
end