Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Karolis2011 committed Oct 4, 2019
1 parent 38f7952 commit 92a2cef
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions code/modules/vueui/ui.dm
Original file line number Diff line number Diff line change
Expand Up @@ -328,11 +328,7 @@ main ui datum.
if (nstatus != status) // Only update if it is different
status = nstatus
if(nstatus > STATUS_DISABLED)
. = check_for_change(TRUE, !autopush) // Gather data and update it
if(. == 2)
return 1
else
return 0
return check_for_change(TRUE, !autopush) == 2 // Gather data and update it
else if (nstatus == STATUS_DISABLED && autopush)
if(autopush)
push_change(null) // Only update ui data
Expand All @@ -341,11 +337,7 @@ main ui datum.
else
close()
else if (status > STATUS_DISABLED && checkforchange)
. = check_for_change(TRUE, !autopush)
if(. == 2)
return 1
else
return 0
return check_for_change(TRUE, !autopush) == 2


/**
Expand Down

0 comments on commit 92a2cef

Please sign in to comment.