mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
[MIRROR] Replacing magic numbers with defines in robot code (#2801)
* Replacing magic numbers with defines in robot code (#56241) While scouring robot code for some (hopefully upcoming) fixes, I found a bunch of gross numbers. These numbers are now letters. * Replacing magic numbers with defines in robot code Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com>
This commit is contained in:
@@ -271,11 +271,11 @@
|
||||
var/obj/item/I = R.held_items[i]
|
||||
if(I)
|
||||
switch(i)
|
||||
if(1)
|
||||
if(BORG_CHOOSE_MODULE_ONE)
|
||||
I.screen_loc = ui_inv1
|
||||
if(2)
|
||||
if(BORG_CHOOSE_MODULE_TWO)
|
||||
I.screen_loc = ui_inv2
|
||||
if(3)
|
||||
if(BORG_CHOOSE_MODULE_THREE)
|
||||
I.screen_loc = ui_inv3
|
||||
else
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user