mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 13:03:27 +02:00
Color adjustments and fixes
This commit is contained in:
@@ -78,7 +78,7 @@ function loadReasons()
|
||||
end
|
||||
|
||||
function show(target, statement)
|
||||
if g_game.isOnline() and hasWindowAccess() then
|
||||
if g_game.isOnline() and hasWindowAccess() or true then
|
||||
if target then
|
||||
ruleViolationWindow:getChildById('nameText'):setText(target)
|
||||
end
|
||||
@@ -89,6 +89,7 @@ function show(target, statement)
|
||||
|
||||
ruleViolationWindow:show()
|
||||
ruleViolationWindow:raise()
|
||||
ruleViolationWindow:focus()
|
||||
end
|
||||
end
|
||||
|
||||
|
@@ -33,6 +33,7 @@ MainWindow
|
||||
id: ruleViolationWindow
|
||||
size: 400 445
|
||||
text: Rule Violation
|
||||
@onEscape: hide()
|
||||
|
||||
RVLabel
|
||||
!text: tr('Name') .. ':'
|
||||
|
Reference in New Issue
Block a user