Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5058

overwrite a changes with = on lua require

$
0
0

My code

local config = require(“storage/emulated/0/GTPSHelper/config”)local setting = config.settingsprint(setting.wrench) — yes it works when i execute it cuz it loads from config directory and it returns 1setting.wrench = 2 — but it didnt make any changes on config files directory, it still 1

I appreciated for someone who help me thx, sorry for my bad grammar.

i tried

setting.wrench = 2 — but it doesnt make any changes on config.lua

here inside of my config.lua

local application ={    settings =    {       wrench = 1,    },}return application

Viewing all articles
Browse latest Browse all 5058


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>