mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
Add 'as anything' to various for loops
This commit is contained in:
@@ -97,8 +97,7 @@
|
||||
return "unidentified object"
|
||||
|
||||
var/list/new_name = list()
|
||||
for(var/i in naming_lists)
|
||||
var/list/current_list = i
|
||||
for(var/list/current_list as anything in naming_lists)
|
||||
new_name += pick(current_list)
|
||||
return new_name.Join(" ")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user