about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--db_actions.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/db_actions.go b/db_actions.go
index 14f618d..2d0dea3 100644
--- a/db_actions.go
+++ b/db_actions.go
@@ -525,7 +525,7 @@ func GetStar(db *sql.DB, starID int64) structs.Star2D {
 }
 
 // getStarIDTimestep returns the timestep the given starID is currently inside of
-func GetStarIDTimestep(starID int64) int64 {
+func GetStarIDTimestep(db *sql.DB, starID int64) int64 {
 	var timestep int64
 
 	// get the star from the stars table