[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:
SkyratBot
2021-01-20 02:40:05 +00:00
committed by GitHub
co-authored by dragomagol
parent 2d87d491ae
commit d4b939c2c9
5 changed files with 43 additions and 39 deletions
+3 -3
View File
@@ -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