p['user-data/script/state'] can't get prop value in profile-cond if script or state name contains underscore
#16250
verygoodlee
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
e.g.
user-data/my_script/my_statewill be replaced here withuser-data/my-script/my-statempv/player/lua/auto_profiles.lua
Lines 121 to 126 in 4697f7c
I know that
get('user-data/my_script/my_state')always works as expected but I prefer the more concise wayp['user-data/my_script/my_state']to access properties.Is it better not to replace the underscore if property name starts with
user-data/?Beta Was this translation helpful? Give feedback.
All reactions