mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
adds dark flash toggle (#30945)
* add dark flash toggle * check for client * remove string shenanigans, makes the dark flash path a var * rename type argument to something that doesn't belong in an asylum
This commit is contained in:
@@ -1065,6 +1065,9 @@
|
||||
var/atom/movable/screen/plane_master/cogbar/PM = locate(/atom/movable/screen/plane_master/cogbar) in parent.screen
|
||||
PM.backdrop(parent.mob)
|
||||
|
||||
if("dark_flash")
|
||||
toggles3 ^= PREFTOGGLE_3_DARK_FLASH
|
||||
|
||||
if("be_special")
|
||||
var/r = href_list["role"]
|
||||
if(r in GLOB.special_roles)
|
||||
|
||||
Reference in New Issue
Block a user