Fix job type
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
// TYPE: Client (JavaScript)
|
||||
// ===========================================================================
|
||||
|
||||
let localPlayerJobType = 0;
|
||||
let localPlayerJobType = -1;
|
||||
let localPlayerWorking = false;
|
||||
let jobRouteLocationBlip = null;
|
||||
let jobRouteLocationSphere = null;
|
||||
|
||||
@@ -292,7 +292,7 @@ function renderJobLabel(name, position, jobType) {
|
||||
text = getLocaleString("StartWorkLabel", "/startwork");
|
||||
}
|
||||
} else {
|
||||
if (localPlayerJobType == 0) {
|
||||
if (localPlayerJobType == -1) {
|
||||
text = getLocaleString("TakeJobLabel", "/takejob");
|
||||
} else {
|
||||
text = getLocaleString("NotYourJobLabel", "/quitjob");
|
||||
|
||||
Reference in New Issue
Block a user