Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

CRASH fog issue #656

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,13 @@
if(!silent)
owner.balloon_alert(owner, "Target not adjacent")
return FALSE
//RUTGMC
var/fog = /obj/effect/forcefield/fog
for(var/i in ((owner.loc).contents))
if(istype(i, fog))
to_chat(owner, span_xenowarning("We cant toss while on fog"))
Lentye marked this conversation as resolved.
Show resolved Hide resolved
return FALSE
//RUTGMC
Lentye marked this conversation as resolved.
Show resolved Hide resolved

/datum/action/ability/activable/xeno/warrior/grapple_toss/use_ability(atom/A)
. = ..()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@
to_chat(owner, span_xenowarning("We cannot blink here!"))
return FALSE

var/fog = /obj/effect/forcefield/fog
for(var/i in ((owner.loc).contents))
if(istype(i, fog))
to_chat(owner, span_xenowarning("We cannot blink while on fog!"))
return FALSE


return TRUE

Expand Down