From 5b2e563a424ac6798d7ea82f36e82b6f5a259fc3 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Mon, 12 Mar 2012 22:03:12 +0000
Subject: [PATCH] Fix Sol price calculations.

---
 xtrn/tw2/ports.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xtrn/tw2/ports.js b/xtrn/tw2/ports.js
index 2635b6d746..2ed512bfa3 100644
--- a/xtrn/tw2/ports.js
+++ b/xtrn/tw2/ports.js
@@ -62,6 +62,7 @@ var PortProperties = [
 
 function SolReport()
 {
+	var today=system.datestr(system.datestr());
 	var holdprice=parseInt(50*Math.sin(0.89756*(today/86400)) + 0.5)+500;
 	var fighterprice=parseInt(10*Math.sin(0.89714*(today/86400) + 1.5707) + 0.5)+100;
 	var turnprice=300;
-- 
GitLab