projects
/
xonotic
/
netradiant.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When connecting entities, don't reuse the target field to name the entity
[xonotic/netradiant.git]
/
plugins
/
entity
/
entity.cpp
diff --git
a/plugins/entity/entity.cpp
b/plugins/entity/entity.cpp
index ec02abdaa273167e140412923f6e8e9d27695ea8..36d7e919e2325a018d42749c234275a08ce1ddc7 100644
(file)
--- a/
plugins/entity/entity.cpp
+++ b/
plugins/entity/entity.cpp
@@
-234,10
+234,6
@@
public:
{
ConnectEntities connector(e1, e2, index);
const char* value = e2->getKeyValue("targetname");
- if(string_empty(value))
- {
- value = e1->getKeyValue(connector.keyname());
- }
if(!string_empty(value))
{
connector.connect(value);