Add core:restart function to restart the editor

This commit is contained in:
Francesco Abbate committed 2020-12-10 12:44:01 +01:00
1 parent 33109e6110
commit 6409b67ea2
4 files changed
+35 -4

No files matched your search

+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,