mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Fix issues discovered via TypeMaker (#87596)
## About The Pull Request Fixes issues with var typing and proc arguments, discovered using OpenDream's WIP TypeMaker feature (using improvements I haven't PR'd upstream yet). ## Why It's Good For The Game Codebase maintenance.
This commit is contained in:
@@ -445,7 +445,7 @@ GLOBAL_LIST_EMPTY(virtual_pets_list)
|
||||
for(var/type_index as anything in hat_selections)
|
||||
if(level >= hat_selections[type_index])
|
||||
var/obj/item/hat = type_index
|
||||
var/obj/item/hat_name = initial(hat.name)
|
||||
var/hat_name = initial(hat.name)
|
||||
if(length(SSachievements.achievements)) // The Achievements subsystem is active.
|
||||
var/datum/award/required_cheevo = cheevo_hats[hat]
|
||||
if(required_cheevo && !user.client.get_award_status(required_cheevo))
|
||||
|
||||
Reference in New Issue
Block a user