mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 14:37:27 +01:00
Fixes eggless nurse/spider queens being able to lay eggs when player-controlled
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
// Webs target in a web if able to.
|
||||
/mob/living/simple_mob/animal/giant_spider/nurse/attack_target(atom/A)
|
||||
if(isturf(A))
|
||||
if(fed)
|
||||
if(fed && can_lay_eggs)
|
||||
if(!laying_eggs)
|
||||
return lay_eggs(A)
|
||||
return web_tile(A)
|
||||
@@ -186,6 +186,9 @@
|
||||
if(!fed)
|
||||
return FALSE
|
||||
|
||||
if(!can_lay_eggs)
|
||||
return FALSE
|
||||
|
||||
var/obj/effect/spider/eggcluster/E = locate() in T
|
||||
if(E)
|
||||
return FALSE // Already got eggs here.
|
||||
|
||||
Reference in New Issue
Block a user