mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
Conversion many Globals to Managed Globals (Part 1) (#17121)
* Conversion of some Globals to Managed Globals * Fix * for later --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -21,9 +21,9 @@
|
||||
// The reverse lookup of player_sizes_list, number to name.
|
||||
/proc/player_size_name(var/size_multiplier)
|
||||
// (This assumes list is sorted big->small)
|
||||
for(var/N in player_sizes_list)
|
||||
for(var/N in GLOB.player_sizes_list)
|
||||
. = N // So we return the smallest if we get to the end
|
||||
if(size_multiplier >= player_sizes_list[N])
|
||||
if(size_multiplier >= GLOB.player_sizes_list[N])
|
||||
return N
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user