Files
siliconsGitHubVM_USER <VM_USER>silicons
78a633ba80 new client security and refactors and playtimes and--- (#5603)
cleans up config
adds new role time.tracking system
adds new panic bunker
adds new VPN detection system
unfucks the automated age gate
does a bunch more cleanups
refactors client security checks a little

---------

Co-authored-by: VM_USER <VM_USER>
Co-authored-by: silicons <no@you.cat>
2023-06-26 20:43:50 +01:00

24 lines
608 B
Plaintext

/**
* switch perspective - null will cause us to shunt our eye to nullspace!
*/
/client/proc/set_perspective(datum/perspective/P)
if(using_perspective)
using_perspective.remove_client(src, TRUE)
if(using_perspective)
stack_trace("using perspective didn't clear")
using_perspective = null
if(!P)
eye = null
lazy_eye = 0
perspective = EYE_PERSPECTIVE
return
P.add_client(src)
if(using_perspective != P)
stack_trace("using perspective didn't set")
/**
* reset perspective to default - usually to our mob's
*/
/client/proc/reset_perspective()
set_perspective(mob.get_perspective())