Formatting

This commit is contained in:
variableundefined
2018-10-15 08:11:30 +08:00
parent 7f5fc850fd
commit 8648734e7e
+1 -1
View File
@@ -670,7 +670,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
to_chat(src, "<span class='notice'>[job.title]: [job.current_positions] / \
[job.total_positions == -1 ? "<b>UNLIMITED</b>" : job.total_positions] \
<b>([job.total_positions == -1 ? "UNLIMITED" : job.total_positions - job.current_positions])</b></span>")
if(!(job.total_positions == -1)) // Only count position that isn't unlimited
if(job.total_positions != -1) // Only count position that isn't unlimited
currentpositiontally += job.current_positions
totalpositiontally += job.total_positions
to_chat(src, "<b>Currently filled job slots (Excluding unlimited): [currentpositiontally] / [totalpositiontally] ([totalpositiontally - currentpositiontally])</b>")