We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38ca478 commit 83a62ebCopy full SHA for 83a62eb
1 file changed
force.lua
@@ -31,12 +31,12 @@ if not eventType then
31
qerror('unknown event type: ' .. args[1])
32
end
33
34
-local newArgs = {'-eventType', eventType}
+local newArgs = {'--eventType', eventType}
35
if eventType == 'Caravan' or eventType == 'Diplomat' then
36
+ table.insert(newArgs, '--civ')
37
if not args[2] then
- qerror('event type ' .. eventType .. ' requires civ ID')
38
+ table.insert(newArgs, 'player')
39
else
- table.insert(newArgs, '-civ')
40
table.insert(newArgs, args[2])
41
42
0 commit comments