mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 03:26:31 +01:00
[NO GBP] switching an istype call with ispath so fish ACTUALLY survive on water turfs (#92193)
This commit is contained in:
@@ -113,7 +113,7 @@ PROCESSING_SUBSYSTEM_DEF(fishing)
|
||||
if(!length(source.associated_safe_turfs))
|
||||
continue
|
||||
for(var/fish_path in source.fish_table)
|
||||
if(!istype(fish_path, /obj/item/fish))
|
||||
if(!ispath(fish_path, /obj/item/fish))
|
||||
continue
|
||||
LAZYOR(fish_safe_turfs_by_type[fish_path], source.associated_safe_turfs)
|
||||
//If a subtype doesn't have set safe turfs, it'll inherit them from the parent type.
|
||||
|
||||
Reference in New Issue
Block a user