diff --git a/scripts/tcp5p28.gd b/scripts/tcp5p28.gd index 1a3ed439..acd0e6f3 100644 --- a/scripts/tcp5p28.gd +++ b/scripts/tcp5p28.gd @@ -224,7 +224,7 @@ class TCP5P28 extends unit.Unit: func pribor_line_changed(u, key): uarep_state = tools.set_bit(uarep_state, PR_STATE[key][0], u.online) - uarep_line = tools.set_bit(uarep_state, PR_STATE[key][1], u.online) + uarep_line = tools.set_bit(uarep_line, PR_STATE[key][1], u.online) func _to_string() -> String: return String('5П-28: "%s" %s ' % [self.name, ['отключен', 'на связи'][int(online)]])