Исправление. Возможно обращение к отсутсвующему элементу
This commit is contained in:
@@ -127,7 +127,10 @@ func on_interfer_new(ecm, table_index):
|
||||
|
||||
|
||||
func on_interfer_off(ecm, table_index):
|
||||
$table.remove_row(table_index[ecm.ispp])
|
||||
if not table_index.has(ecm.ispp):
|
||||
return
|
||||
var i_row = table_index[ecm.ispp]
|
||||
$table.remove_row(i_row)
|
||||
rehash(table_index)
|
||||
var sel_rows: Array
|
||||
$table.get_selected_rows(sel_rows)
|
||||
|
||||
Reference in New Issue
Block a user