diff --git a/BeefLibs/corlib/src/IO/Pipe.bf b/BeefLibs/corlib/src/IO/Pipe.bf index 6e12d4fb..005fa00b 100644 --- a/BeefLibs/corlib/src/IO/Pipe.bf +++ b/BeefLibs/corlib/src/IO/Pipe.bf @@ -83,7 +83,7 @@ namespace System.IO Platform.BfpFileAttributes fileFlags = .Normal; Platform.BfpFileResult fileResult = .Ok; - mBfpFile = Platform.Hook.sBfpFile_Create(path, createKind, createFlags, fileFlags, &fileResult); + mBfpFile = Platform.Hook.BfpFile_Create(path, createKind, createFlags, fileFlags, &fileResult); if ((mBfpFile == null) || (fileResult != .Ok)) { diff --git a/BeefLibs/corlib/src/StaticHookAttribute.bf b/BeefLibs/corlib/src/StaticHookAttribute.bf index 27476383..fae81a5a 100644 --- a/BeefLibs/corlib/src/StaticHookAttribute.bf +++ b/BeefLibs/corlib/src/StaticHookAttribute.bf @@ -1,6 +1,6 @@ namespace System; -[AttributeUsage(.Types | .Method, .AlwaysIncludeTarget)] +[AttributeUsage(.Types | .Method)] public struct StaticHookAttribute : Attribute, IOnTypeInit { Type mSrcType;