ZakBlystone / gmod_blueprints

Blueprint Editor for Garry's Mod (Visual Programming)
GNU General Public License v3.0
59 stars 9 forks source link

[Bug] Red flashing invalid, when using hook in node library that accepts a return #81

Closed matt4499 closed 3 years ago

matt4499 commented 4 years ago

Blueprints Branch V2

It creates two player classes instead of "extending" off of the base Player class.

When attempting to create a hook that accepts a return value, the node starts flashing red and says Invalid. This is spammed in the console:

No Match for: [nodeless]Inputs (IN) [bppintype(table: 0x027ff1226658): Boolean]
  Node Preview:DarkRP_Hooks_canArrest.Exec (OUT) [bppintype(table: 0x027fec7c70b8): Exec]
  Node Preview:DarkRP_Hooks_canArrest.Arrester (OUT) [bppintype(table: 0x027fec3ddf48): Player]
  Node Preview:DarkRP_Hooks_canArrest.Arrestee (OUT) [bppintype(table: 0x027fec13a4e8): Player]

As soon as the returns are removed, it stops flashing invalid.

ZakBlystone commented 3 years ago

Fixed in commit ff703342fd69cef8c38cd7ac7f4bdd487bcc3c93