mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 12:50:52 +00:00
- Fixed a problem in the 3D floor mode plugin that caused an exception when saving the program preferences. Fixes #310.
This commit is contained in:
parent
75d6214db5
commit
6c05f1daf0
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,7 @@ using System.Data;
|
|||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Windows.Forms;
|
||||
using CodeImp.DoomBuilder.Windows;
|
||||
|
||||
|
@ -23,6 +24,9 @@ namespace CodeImp.DoomBuilder.ThreeDFloorMode
|
|||
#region ================== Methods
|
||||
|
||||
// When OK is pressed on the preferences dialog
|
||||
// Prevent inlining, otherwise there are unexpected interactions with Assembly.GetCallingAssembly
|
||||
// See https://docs.microsoft.com/en-us/dotnet/api/system.reflection.assembly.getcallingassembly?view=netframework-4.6.1#remarks
|
||||
[MethodImplAttribute(MethodImplOptions.NoInlining)]
|
||||
public void OnAccept(PreferencesController controller)
|
||||
{
|
||||
// Write preferred settings
|
||||
|
|
Loading…
Reference in a new issue