fixes a bunch of warnings
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Content.Server.AI.Utility.Considerations.State
|
||||
}
|
||||
|
||||
context.GetStoredState(stateData, out StoredStateData<EntityUid> state);
|
||||
return state.GetValue() == null ? 1.0f : 0.0f;
|
||||
return state.GetValue().Valid ? 0.0f : 1.0f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user