Skip to content

Commit 364f9bf

Browse files
technically should set this earlier
When launching an already-unpacked gamedir, we'll still go through code that references this var even though it was never set. Yeah it will default empty anyway, but let's be nice.
1 parent 420e4ab commit 364f9bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/quakelaunch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ function jam_helper {
319319

320320
arg="$1"
321321
maplist=""
322+
inferred_basegame=""
322323
basegame_args=""
323324
basegame_error=""
324325
startmap=""
@@ -429,7 +430,6 @@ then
429430
fi
430431
# Take our best shot at making this playable.
431432
cd "$destdir"
432-
inferred_basegame=
433433
basegamespat="id1\|hipnotic\|rogue\|quoth\|copper\|ad\|alkaline"
434434
# Try to get rid of any extra directories generated in archive-creation,
435435
# as well as other files we don't want.

0 commit comments

Comments
 (0)