Skip to content

Conversation

hsuq510
Copy link

@hsuq510 hsuq510 commented Mar 17, 2019

In order to fix issue 199 where api version is not initialized correctly the pull request is tested.

#199


local function invalidatePages()
Page = nil
dataInitialised = false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be invalidated - no point in re-reading data over and over again, especially as bandwidth is already scarce.

if data_init == nil then
data_init = assert(loadScript(SCRIPT_HOME .. "/data_init.lua"))()
end
dataInitialised = data_init.init();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you running this only once? If you want to run this here, it should be run until the initialisation has finished, otherwise this will just be done after an arbitrary number of user interactions.

@mikeller
Copy link
Member

@hsuq510: I think this has been addressed in #203.

@hsuq510
Copy link
Author

hsuq510 commented Apr 15, 2019

@mikeller still not working with latest ui.lua data is not initialized and apiversion remain 0. At leastr with X9D is not working.

@hsuq510 hsuq510 closed this Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants