mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-02 15:55:30 +00:00
Change :detach to :exit
@20dka
This commit is contained in:
parent
450f0a6875
commit
5755ead9be
@ -475,7 +475,7 @@ void TConsole::RunAsCommand(const std::string& cmd, bool IgnoreNotACommand) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void TConsole::HandleLuaInternalCommand(const std::string& cmd) {
|
void TConsole::HandleLuaInternalCommand(const std::string& cmd) {
|
||||||
if (cmd == "detach") {
|
if (cmd == "exit") {
|
||||||
ChangeToRegularConsole();
|
ChangeToRegularConsole();
|
||||||
} else if (cmd == "queued") {
|
} else if (cmd == "queued") {
|
||||||
auto QueuedFunctions = LuaAPI::MP::Engine->Debug_GetStateFunctionQueueForState(mStateId);
|
auto QueuedFunctions = LuaAPI::MP::Engine->Debug_GetStateFunctionQueueForState(mStateId);
|
||||||
@ -517,7 +517,7 @@ void TConsole::HandleLuaInternalCommand(const std::string& cmd) {
|
|||||||
All commands must be prefixed with a `:`. Non-prefixed commands are interpreted as Lua.
|
All commands must be prefixed with a `:`. Non-prefixed commands are interpreted as Lua.
|
||||||
|
|
||||||
Commands
|
Commands
|
||||||
:detach detaches (exits) from this Lua console
|
:exit detaches (exits) from this Lua console
|
||||||
:help displays this help
|
:help displays this help
|
||||||
:events shows a list of currently registered events
|
:events shows a list of currently registered events
|
||||||
:queued shows a list of all pending and queued functions)");
|
:queued shows a list of all pending and queued functions)");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user