mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
Apply suggestions from code review
Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com>
This commit is contained in:
@@ -174,11 +174,10 @@
|
||||
R.uneq_all()
|
||||
modules = list()
|
||||
|
||||
if(!malfhacked)
|
||||
if(R.connected_ai)
|
||||
for(var/I in R.connected_ai.purchased_modules)
|
||||
if(istype(src, I))
|
||||
malfhacked = TRUE
|
||||
if(!malfhacked && R.connected_ai)
|
||||
for(var/I in R.connected_ai.purchased_modules)
|
||||
if(istype(src, I))
|
||||
malfhacked = TRUE
|
||||
|
||||
// By this point these lists should only contain items. It's safe to use typeless loops here.
|
||||
for(var/item in basic_modules)
|
||||
|
||||
Reference in New Issue
Block a user