Auto doors bug

Hello, been experiencing a bug with the automatic door closing plugin since force.

Single doors will only close automaticly on the first time it's opened after being placed in a door frame, 2nd, 3rd, 4th etc time it will not close. I have tried to toggle the door type on/off to see if it helped but no such luck.

other doors seems to work as usual so it's only the single door having issues. 

Replace

                door.SetFlag(BaseEntity.Flags.Open, false);
                door.SendNetworkUpdateImmediate();​

with


				using (var setFlags = door.StartSetFlags(BaseEntity.FlagsUpdateMode.SendNetworkUpdate_Flags))
				{
					setFlags.Set(BaseEntity.Flags.Open, false);
				}

After today's wipe, I get this error message when I try to load the mod.
| Error while compiling AutoDoors: 'Door' does not contain a definition for 'SetFlag' and no accessible extension method 'SetFlag' accepting a first argument of type 'Door' could be found (are you missing a using directive or an assembly reference?) | Line: 135, Pos: 22