浏览代码

Change assembly watcher after notification changes

Fixed Mono not building after #39986 was merged due to a constant that got renamed.
G'lek 5 年之前
父节点
当前提交
a5abacd1e7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/mono/editor/GodotTools/GodotTools/HotReloadAssemblyWatcher.cs

+ 1 - 1
modules/mono/editor/GodotTools/GodotTools/HotReloadAssemblyWatcher.cs

@@ -10,7 +10,7 @@ namespace GodotTools
 
         public override void _Notification(int what)
         {
-            if (what == Node.NotificationWmFocusIn)
+            if (what == Node.NotificationWmWindowFocusIn)
             {
                 RestartTimer();