#Problem: Require

1 messages · Page 1 of 1 (latest)

abstract grail
#

How do you fix Infinite yield problem bc your Module requires eachother?

scenic estuary
#

make a middleman then

#

module A requires Module C and Module B requires Module C, now Module A and B dont talk directly to each other Thumbs

abstract grail
steady bluff
#

when would u need two modules to require each other? sounds like u might have to rethink ur code structure slightly

vital stratus
#

If you just need to pass data between two scripts just use events

void locust
#

Say some data is contained in module A, then module B wants to get data from module A

#

but module A also require module B

#

then u make module C which contains the data

#

This apply to functions as well