mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
count station food verb counts station food (#78864)
## About The Pull Request it checked for food not on the station ## Why It's Good For The Game bug bad ## Changelog 🆑 fix: count station food verb now counts food only onstation /🆑
This commit is contained in:
@@ -389,7 +389,7 @@ GLOBAL_VAR_INIT(say_disabled, FALSE)
|
||||
var/list/foodcount = list()
|
||||
for(var/obj/item/food/fuck_me in world)
|
||||
var/turf/location = get_turf(fuck_me)
|
||||
if(!location || SSmapping.level_trait(location.z, ZTRAIT_STATION))
|
||||
if(!location || !SSmapping.level_trait(location.z, ZTRAIT_STATION))
|
||||
continue
|
||||
LAZYADDASSOC(foodcount, fuck_me.type, 1)
|
||||
|
||||
@@ -412,7 +412,7 @@ GLOBAL_VAR_INIT(say_disabled, FALSE)
|
||||
var/list/stackcount = list()
|
||||
for(var/obj/item/stack/fuck_me in world)
|
||||
var/turf/location = get_turf(fuck_me)
|
||||
if(!location || SSmapping.level_trait(location.z, ZTRAIT_STATION))
|
||||
if(!location || !SSmapping.level_trait(location.z, ZTRAIT_STATION))
|
||||
continue
|
||||
LAZYADDASSOC(stackcount, fuck_me.type, fuck_me.amount)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user