mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Fixed reason Confirm
This commit is contained in:
@@ -82,7 +82,7 @@ Gui.new_button()
|
||||
end)
|
||||
:on_click(function(player,element)
|
||||
local reason = element.parent.entry.text or 'Non Given'
|
||||
local action_name = Store.get_child(action_name_store,player.name)
|
||||
local action_name = Store.get(action_name_store,player.name)
|
||||
local reason_callback = config[action_name].reason_callback
|
||||
reason_callback(player,reason)
|
||||
Store.clear(action_player_store,player.name)
|
||||
|
||||
Reference in New Issue
Block a user