Skip to content

Commit

Permalink
OK
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Oct 14, 2023
1 parent 90e63ee commit f046310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/cm_marines/equipment/maps.dm
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ GLOBAL_LIST_INIT_TYPED(map_type_list, /obj/item/map, setup_all_maps())

var/map_name = SSmapping.configs[GROUND_MAP].map_name
var/obj/item/map/map = GLOB.map_type_list[map_name]
if (!map && (map_name == MAP_RUNTIME || map_name == MAP_CHINOOK || map_name in SHIP_MAP_NAMES))
if (!map && (map_name == MAP_RUNTIME || map_name == MAP_CHINOOK || (map_name in SHIP_MAP_NAMES)))
return // "Maps" we don't have maps for so we don't need to throw a runtime for (namely in unit_testing)
name = map.name
desc = map.desc
Expand Down

0 comments on commit f046310

Please sign in to comment.