Skip to content

Commit

Permalink
WHAT? It's a mod?!?
Browse files Browse the repository at this point in the history
  • Loading branch information
krzys-h committed Sep 30, 2018
1 parent 11a30d8 commit 0f7084c
Show file tree
Hide file tree
Showing 4 changed files with 1,684 additions and 1 deletion.
4 changes: 3 additions & 1 deletion UndertaleModTool/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ private async Task SaveFile(string filename)

if (IsGMS2 == Visibility.Visible)
{
MessageBox.Show("This is not yet tested and may break. You have been warned.", "GMS2 game", MessageBoxButton.YesNo, MessageBoxImage.Warning);
MessageBox.Show("This is not yet tested and may break. You have been warned.", "GMS2 game", MessageBoxButton.OK, MessageBoxImage.Warning);
}

LoaderDialog dialog = new LoaderDialog("Saving", "Saving, please wait...");
Expand Down Expand Up @@ -503,6 +503,8 @@ private void MenuItem_RunBuiltinScript_SubmenuOpened(object sender, RoutedEventA
foreach(var path in Directory.EnumerateFiles("SampleScripts"))
{
var filename = System.IO.Path.GetFileName(path);
if (!filename.EndsWith(".csx"))
continue;
MenuItem subitem = new MenuItem() { Header = filename.Replace("_", "__") };
subitem.Click += MenuItem_RunBuiltinScript_Item_Click;
subitem.CommandParameter = path;
Expand Down
Loading

1 comment on commit 0f7084c

@colinator27
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice mod........

Please sign in to comment.