A Question About Saved Lua Variables
Posted: Sun Aug 23, 2020 17:27
If I save a variable within "function script:update ()" using the following, is that variable not accessable from other functions, like "function script.nextDay ()" for example?
Code: Select all
local name = Util.optStorage(City.getStorage(), script:getDraft():getId())