Small fix on policy_change variables
This commit is contained in:
@ -64,15 +64,15 @@ function change_policy:initiate(result)
|
||||
self.org:delete_process(self.id)
|
||||
return
|
||||
end
|
||||
modpol.interactions.dropdown_query(
|
||||
self.initiator, "Choose a policy to change:",
|
||||
policy_list,
|
||||
function(policy_choice)
|
||||
local readable_value =
|
||||
tostring(modpol.modules[mod_choice][policy_choice])
|
||||
if readable_value == "nil" then
|
||||
readable_value = "none"
|
||||
end
|
||||
modpol.interactions.dropdown_query(
|
||||
self.initiator, "Choose a policy to change:",
|
||||
policy_list,
|
||||
function(policy_choice)
|
||||
modpol.interactions.text_query(
|
||||
self.initiator,
|
||||
"Current " .. policy_choice .. " value: "
|
||||
|
Reference in New Issue
Block a user