Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Commit

Permalink
New game version fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ITeMbI4 authored Sep 15, 2020
1 parent 9d8c0e6 commit 3b3e6ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCP Speech/EventHandlers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static Transform IntercomArea
get
{
if (intercomeArea == null)
intercomeArea = typeof(Intercom).GetField("area", BindingFlags.NonPublic | BindingFlags.Instance)?.GetValue(Intercom.host) as Transform;
intercomeArea = typeof(Intercom).GetField("_area", BindingFlags.NonPublic | BindingFlags.Instance)?.GetValue(Intercom.host) as Transform;

if (intercomeArea == null)
throw new MissingFieldException("Field for intercom not found.");
Expand Down

0 comments on commit 3b3e6ab

Please sign in to comment.