diff --git a/omnigibson/utils/bddl_utils.py b/omnigibson/utils/bddl_utils.py index 6d2595d0c..c80f22b25 100644 --- a/omnigibson/utils/bddl_utils.py +++ b/omnigibson/utils/bddl_utils.py @@ -244,9 +244,9 @@ def get_state(self, state, *args, **kwargs): **kwargs (dict): Any keyword arguments to pass to getter, in order Returns: - None or any: Returned value(s) from @state if self.wrapped_obj exists (i.e.: not None), else None + any: Returned value(s) from @state if self.wrapped_obj exists (i.e.: not None), else False """ - return self.wrapped_obj.states[state].get_value(*args, **kwargs) if self.exists else None + return self.wrapped_obj.states[state].get_value(*args, **kwargs) if self.exists else False def set_state(self, state, *args, **kwargs): """