Skip to content

Commit

Permalink
Added IsFNA test
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Jan 18, 2024
1 parent f49a011 commit 1860b34
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion FRBDK/Glue/OfficialPlugins/EffectPlugin/MainEffectPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using System.Threading.Tasks;
using OfficialPlugins.EffectPlugin.Managers;
using System.ComponentModel.Composition;
using FlatRedBall.Glue.VSHelpers.Projects;

namespace OfficialPlugins.EffectPlugin
{
Expand All @@ -24,7 +25,10 @@ public override void StartUp()
private void HandleLoadGlux()
{
var project = GlueState.Self.CurrentGlueProject;
var isFna = false;

var vsProject = GlueState.Self.CurrentMainProject;

var isFna = vsProject is FnaDesktopProject;

if(isFna)
{
Expand Down

0 comments on commit 1860b34

Please sign in to comment.