What the FUCK javascript? WHAT THE FUCK!?

  • The_Walkening [none/use name]
    ·
    edit-2
    2 years ago

    Unless you explicitly state the return value, JS returns undefined as the return value for functions, - might be what's happening if your code is otherwise working/doing stuff.

    • userse31 [he/him]
      hexagon
      ·
      2 years ago

      Oh no, it just pretends it doesn't exist.

      Egh. Whatever. I just bodged a try statement in there. Not the proper fix, but the issue only crops up when theres a lot of lighting updates happen.