diff --git a/VERSION b/VERSION index 60d4475..e37a652 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.7.104 +0.7.105 diff --git a/resmon.lua b/resmon.lua index 4b06e06..188cc90 100644 --- a/resmon.lua +++ b/resmon.lua @@ -688,7 +688,7 @@ function resmon.on_click.goto_site(event) player.character = viewer -- don't leave an old one behind - if player_data.remote_viewer then + if player_data.remote_viewer and player_data.remote_viewer.valid then player_data.remote_viewer.destroy() end player_data.remote_viewer = viewer