Browse Source

Fix Breakpoint compare in new Debugger.

Only used to keep the hashmap, but clearly bogus.
Fabio Alessandrelli 5 years ago
parent
commit
f72905aa29
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/debugger/editor_debugger_node.h

+ 1 - 1
editor/debugger/editor_debugger_node.h

@@ -59,7 +59,7 @@ private:
 
 		bool operator<(const Breakpoint &p_b) const {
 			if (line == p_b.line)
-				return line < p_b.line;
+				return source < p_b.source;
 			return line < p_b.line;
 		}