-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFnv.asl
More file actions
47 lines (39 loc) · 785 Bytes
/
Fnv.asl
File metadata and controls
47 lines (39 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
state("FalloutNV")
{
bool loading : 0xDDA4EC;
bool introDone : 0xDDA590;
}
update
{
int crash = 0;
Process[] processlist = Process.GetProcesses();
foreach (Process theprocess in processlist)
{
if (theprocess.ProcessName == "FalloutNV")
{
crash += 1;
if(crash>=2)
{
foreach (Process nv in processlist)
{
if (nv.ProcessName == "FalloutNV")
{
nv.Kill();
}
}
}
}
}
vars.isLoading = false;
if ((current.loading) || (!current.introDone)) {
vars.isLoading = true;
}
}
exit
{
timer.IsGameTimePaused = true;
}
isLoading
{
return vars.isLoading;
}