Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed Mar 2, 2024
1 parent 611d9d5 commit 69212f4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
2 changes: 0 additions & 2 deletions code/__DEFINES/subsystems.dm
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@
// Subsystems shutdown in the reverse of the order they initialize in
// The numbers just define the ordering, they are meaningless otherwise.

#define SS_INIT_TICKER_SPAWN 999
#define SS_INIT_TITLE 990
#define SS_INIT_PROFILER 86
#define SS_INIT_INPUT 85
#define SS_INIT_TOPIC 83
Expand Down
7 changes: 0 additions & 7 deletions code/__HELPERS/sanitize_values.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@
return number
return default

/proc/sanitize_float(number, min=0, max=1, accuracy=1, default=0)
if(isnum(number))
number = round(number, accuracy)
if(min <= number && number <= max)
return number
return default

/proc/sanitize_text(text, default="")
if(istext(text))
return text
Expand Down
2 changes: 1 addition & 1 deletion code/modules/client/preferences.dm
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ GLOBAL_LIST_INIT(bgstate_options, list(

var/widescreen = TRUE

var/pixel_size = 0
var/pixel_size = PIXEL_SCALING_AUTO
var/scaling_method = SCALING_METHOD_NORMAL

/// if this client has tooltips enabled
Expand Down

0 comments on commit 69212f4

Please sign in to comment.