Add core:restart function to restart the editor

This commit is contained in:
Francesco Abbate
2020-12-10 12:44:01 +01:00
parent 33109e6110
commit 6409b67ea2
4 changed files with 35 additions and 4 deletions
+4
View File
@@ -12,6 +12,10 @@ command.add(nil, {
core.quit()
end,
["core:restart"] = function()
core.restart()
end,
["core:force-quit"] = function()
core.quit(true)
end,