mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-15 08:24:52 +09:00
Fixed gui events
This commit is contained in:
1 parent
b631172487
commit
38f0413b31
2 files changed
+27
-19
No files matched your search
@@ -183,7 +183,7 @@ Gui.clone_concept('checkbox',TEST 'force_checkbox')
|
||||
event.concept.set_data(element,element.state) -- Update other instances
|
||||
event.player.print('Force stored checkbox is now: '..tostring(element.state))
|
||||
end)
|
||||
:define_combined_store(function(element,state)
|
||||
:define_combined_store(Gui.categorize_by_force,function(element,state)
|
||||
element.state = state or false
|
||||
end)
|
||||
|
||||
@@ -196,7 +196,7 @@ Gui.clone_concept('checkbox',TEST 'player_checkbox')
|
||||
event.concept.set_data(element,element.state) -- Update other instances
|
||||
event.player.print('Player stored checkbox is now: '..tostring(element.state))
|
||||
end)
|
||||
:define_combined_store(function(element,state)
|
||||
:define_combined_store(Gui.categorize_by_player,function(element,state)
|
||||
element.state = state or false
|
||||
end)
|
||||
|
||||
|
||||
Reference in new issue
Block a user