#Is it possible to turn shared() into a function?

15 messages · Page 1 of 1 (latest)

stark folio
#

by just defining a function with the name "shared"

#

yes

#

to "turn" it into a function you have to define one

#

you'd have to define it in each

#

you'd need to define a value somewhere global like in shared for example

#

but you cant globally change a global variable itself

#

are u sure the code even works

#

so no definitive proof

#

where

#

and do you have proof the shared() part is still in the code with the game published?

#

its 2 clicks to delete 1 line of code

#

you'd either have to define a function in a global variable like shared or _G and then access it from there, or define it as a local function

#

ask the dev who did it then

silver hearth
#

do not use shared