Wire: E2: entity:parentTo() function is just upsidedown

Created on 2 May 2019  路  4Comments  路  Source: wiremod/wire

Bug E2

All 4 comments

The best solution I can think of, is to basically remove this function.
So, even if any E2 is using it, they will notice the function would be gone, and search E2 helper again, and hopefully find that it was just completely wrong, and switch to entity:deparent().

It's just the documentation that needs update. It should be,

E2Helper.Descriptions["parentTo(e:)"] = E2Helper.Descriptions["deparent(e:)"]

It's just the documentation that needs update. It should be,

Why is it called parentTo then?
It is completely misleading.

Because parentTo with empty arguments implies setting parent to nothing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CaptainPRICE picture CaptainPRICE  路  9Comments

CaptainPRICE picture CaptainPRICE  路  8Comments

CaptainPRICE picture CaptainPRICE  路  6Comments

CaptainPRICE picture CaptainPRICE  路  4Comments

Etothepowerof26 picture Etothepowerof26  路  5Comments