i fucked up - GLOBAL.DEFAULT_VIEW > GLOB.DEFAULT_VIEW

This commit is contained in:
deathride58
2017-12-05 21:53:52 -05:00
parent b765f50302
commit 1904080823
10 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -319,7 +319,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(mind.current.key && copytext(mind.current.key,1,2)!="@") //makes sure we don't accidentally kick any clients
to_chat(usr, "<span class='warning'>Another consciousness is in your body...It is resisting you.</span>")
return
client.change_view(GLOBAL.DEFAULT_VIEW)
client.change_view(GLOB.DEFAULT_VIEW)
SStgui.on_transfer(src, mind.current) // Transfer NanoUIs.
mind.current.key = key
return 1
@@ -463,7 +463,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(new_view)
client.change_view(Clamp(new_view, 7, max_view))
else
client.change_view(GLOBAL.DEFAULT_VIEW)
client.change_view(GLOB.DEFAULT_VIEW)
/mob/dead/observer/verb/add_view_range(input as num)
set name = "Add View Range"
+1 -1
View File
@@ -37,7 +37,7 @@
if(client)
client.click_intercept = null
client.change_view(GLOBAL.DEFAULT_VIEW) // Resets the client.view in case it was changed.
client.change_view(GLOB.DEFAULT_VIEW) // Resets the client.view in case it was changed.
if(!GLOB.individual_log_list[ckey])
GLOB.individual_log_list[ckey] = logging