mirror of
https://github.com/overte-org/overte.git
synced 2025-04-17 23:09:11 +02:00
Fix 'last location' button not working in console
This commit is contained in:
parent
14e71778a8
commit
980e6d4c52
1 changed files with 2 additions and 2 deletions
|
@ -157,8 +157,8 @@ app.on('ready', function() {
|
|||
ipcMain.on('start-interface', function(event, arg) {
|
||||
// check if we have a url parameter to include
|
||||
var argArray = [];
|
||||
if (arg.url) {
|
||||
argArray = ["--url", arg.url]
|
||||
if (arg && arg.url) {
|
||||
argArray = ["--url", arg.url];
|
||||
}
|
||||
|
||||
// create a new Interface instance - Interface makes sure only one is running at a time
|
||||
|
|
Loading…
Reference in a new issue