Skip to content

Commit e242ed6

Browse files
committed
Disable new world button, fix crash opening plugin folder
1 parent a2acb9c commit e242ed6

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

‎.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
## Ignore Visual Studio temporary files, build results, and
22
## files generated by popular Visual Studio add-ons.
33

4+
#Rider directory
5+
.idea/
6+
47
# User-specific files
58
*.suo
69
*.user

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Discord](https://discordapp.com/api/guilds/230191591640268800/widget.png)](https://discord.gg/8uHZykr) [![Build Status](http://server.torchapi.net:8080/job/Torch/job/Torch/job/master/badge/icon)](http://server.torchapi.net:8080/job/Torch/job/Torch/job/master/)
1+
[![Discord](https://discordapp.com/api/guilds/230191591640268800/widget.png)](https://discord.gg/8uHZykr) [![Build Status](http://build.torchapi.net/job/Torch/job/Torch/job/master/badge/icon)](http://build.torchapi.net/job/Torch/job/Torch/job/master/)
22

33
# What is Torch?
44
Torch is the successor to SE Server Extender and gives server admins the tools they need to keep their Space Engineers servers running smoothly. It features a user interface with live management tools and a plugin system so you can run your server exactly how you'd like. Torch is still in early development so there may be bugs and incomplete features.

‎Torch.Server/Views/ConfigControl.xaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</Grid.RowDefinitions>
2828
<DockPanel Grid.Row="0">
2929
<Label Content="World:" DockPanel.Dock="Left" />
30-
<Button Content="New World" Margin="3" DockPanel.Dock="Right" Click="NewWorld_OnClick" />
30+
<Button Content="New World" Margin="3" DockPanel.Dock="Right" Click="NewWorld_OnClick" IsEnabled="false" ToolTip="Feature is not yet complete"/>
3131
<ComboBox ItemsSource="{Binding Worlds}" SelectedItem="{Binding SelectedWorld}" Margin="3"
3232
SelectionChanged="Selector_OnSelectionChanged">
3333
<ComboBox.ItemTemplate>

‎Torch.Server/Views/PluginsControl.xaml.cs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ private void Server_Initialized(ITorchServer obj)
5454

5555
private void OpenFolder_OnClick(object sender, RoutedEventArgs e)
5656
{
57-
Process.Start("explorer.exe", _plugins.PluginDir);
57+
if (_plugins?.PluginDir != null)
58+
Process.Start(_plugins.PluginDir);
5859
}
5960
}
6061
}

0 commit comments

Comments
 (0)