mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-26 10:04:12 +00:00
Escaping vr is no longer possible (#9671)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -42,8 +42,14 @@ GLOBAL_LIST_EMPTY(unique_deployable)
|
|||||||
else
|
else
|
||||||
. += "This capsule has an unknown template stored."
|
. += "This capsule has an unknown template stored."
|
||||||
|
|
||||||
/obj/item/survivalcapsule/attack_self()
|
// CHOMPEdit Start
|
||||||
|
/obj/item/survivalcapsule/attack_self(mob/user as mob)
|
||||||
//Can't grab when capsule is New() because templates aren't loaded then
|
//Can't grab when capsule is New() because templates aren't loaded then
|
||||||
|
if(istype(get_area(user), /area/vr))
|
||||||
|
to_chat(user, span_danger("\The [src] does not appear to work in VR! This is useless to you!"))
|
||||||
|
return
|
||||||
|
. = ..()
|
||||||
|
// CHOMPEdit End
|
||||||
get_template()
|
get_template()
|
||||||
if(!used)
|
if(!used)
|
||||||
loc.visible_message(span_warning("\The [src] begins to shake. Stand back!"))
|
loc.visible_message(span_warning("\The [src] begins to shake. Stand back!"))
|
||||||
|
|||||||
Reference in New Issue
Block a user