Ill code here, probably no breaking issue?
func clear_preview():
if targeting_state.target == state.preview:
targeting_state.target == nullThe statement has no effect I think