scripting: fix stateGet()

This commit is contained in:
jean-emmanuel 2021-12-13 18:54:11 +01:00
parent e61202f147
commit fa27696b6f

View file

@ -327,7 +327,7 @@ class ScriptVm extends Vm {
},
getItem: (k)=>{
this.checkContext('storage.getItem')
cache.get('script.' + k)
return cache.get('script.' + k)
},
removeItem: (k)=>{
this.checkContext('storage.removeItem')