Stops meson/etc use with overmap consoles (#7591)

* Stops meson/etc use with overmap consoles

* whoops that's a living var

* testing is for nerds
This commit is contained in:
Cyantime
2020-08-31 23:39:14 -04:00
committed by GitHub
parent ef3d0a775b
commit dbc006fdc6
+9 -1
View File
@@ -71,6 +71,10 @@ somewhere on that shuttle. Subtypes of these can be then used to perform ship ov
if(linked)
apply_visual(user)
user.reset_view(linked)
if(isliving(user))
var/mob/living/L = user
L.looking_elsewhere = 1
L.handle_vision()
user.set_viewsize(world.view + extra_view)
GLOB.moved_event.register(user, src, /obj/machinery/computer/ship/proc/unlook)
// TODO GLOB.stat_set_event.register(user, src, /obj/machinery/computer/ship/proc/unlook)
@@ -78,6 +82,10 @@ somewhere on that shuttle. Subtypes of these can be then used to perform ship ov
/obj/machinery/computer/ship/proc/unlook(var/mob/user)
user.reset_view()
if(isliving(user))
var/mob/living/L = user
L.looking_elsewhere = 0
L.handle_vision()
user.set_viewsize() // reset to default
GLOB.moved_event.unregister(user, src, /obj/machinery/computer/ship/proc/unlook)
// TODO GLOB.stat_set_event.unregister(user, src, /obj/machinery/computer/ship/proc/unlook)
@@ -109,4 +117,4 @@ somewhere on that shuttle. Subtypes of these can be then used to perform ship ov
var/M = W.resolve()
if(M)
unlook(M)
. = ..()
. = ..()