mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
prevents posters inheriting icon_state from map obj
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
if(exact)
|
||||
return decls_repository.get_decl(path)
|
||||
else
|
||||
var/list/L = decls_repository.get_decls_of_type(path)
|
||||
var/list/L = decls_repository.get_decls_of_subtype(path) // Use get_decls_of_subtype instead of get_decls_of_type, or it will get the map placing icon_state
|
||||
return L[pick(L)]
|
||||
return null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user