Add core:restart function to restart the editor
This commit is contained in:
1 parent
33109e6110
commit
6409b67ea2
4 files changed
+35
-4
No files matched your search
@@ -12,6 +12,10 @@ command.add(nil, {
|
||||
core.quit()
|
||||
end,
|
||||
|
||||
["core:restart"] = function()
|
||||
core.restart()
|
||||
end,
|
||||
|
||||
["core:force-quit"] = function()
|
||||
core.quit(true)
|
||||
end,
|
||||
|
||||
Reference in new issue
Block a user