mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 19:19:12 +01:00
Merge pull request #6309 from Verkister/513bloops
Some runtime spam fixes. Also fixes fake AO.
This commit is contained in:
@@ -84,4 +84,4 @@
|
||||
#define LIGHT_COLOR_INCANDESCENT_FLASHLIGHT "#FFCC66"
|
||||
|
||||
//Fake ambient occlusion filter
|
||||
#define AMBIENT_OCCLUSION filter(type="drop_shadow", x=0, y=-2, size=4, border=4, color="#04080FAA")
|
||||
#define AMBIENT_OCCLUSION filter(type="drop_shadow", x=0, y=-2, size=4, offset=4, color="#04080FAA")
|
||||
|
||||
@@ -61,13 +61,15 @@
|
||||
|
||||
//Called when the software is installed in the NIF
|
||||
/datum/nifsoft/proc/install()
|
||||
if(!nif)
|
||||
return
|
||||
return nif.install(src)
|
||||
|
||||
//Called when the software is removed from the NIF
|
||||
/datum/nifsoft/proc/uninstall()
|
||||
if(active)
|
||||
deactivate()
|
||||
if(nif)
|
||||
if(active)
|
||||
deactivate()
|
||||
. = nif.uninstall(src)
|
||||
nif = null
|
||||
if(!QDESTROYING(src))
|
||||
|
||||
@@ -55,10 +55,14 @@
|
||||
nif.human.verbs -= /mob/living/carbon/human/proc/nme
|
||||
|
||||
proc/save_settings()
|
||||
if(!nif)
|
||||
return
|
||||
nif.save_data["[list_pos]"] = inside_flavor
|
||||
return TRUE
|
||||
|
||||
proc/load_settings()
|
||||
if(!nif)
|
||||
return
|
||||
var/load = nif.save_data["[list_pos]"]
|
||||
if(load)
|
||||
inside_flavor = load
|
||||
|
||||
Reference in New Issue
Block a user