Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
RedpointGames
A Momentary Meeting
Commits
e28e91a5
Commit
e28e91a5
authored
Jan 31, 2021
by
NukeKitty
Browse files
Removed aliases from solo 'inspect' readout
parent
c7255d1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
MomentaryMeeting/Game/CommandParser.cs
View file @
e28e91a5
...
...
@@ -145,7 +145,7 @@ namespace MomentaryMeeting.Game
var
visibleInspectables
=
location
.
Inspectables
.
SelectMany
(
x
=>
{
var
prompt
=
EvaluatePrompt
(
x
.
Value
.
Prompt
);
return
new
[]
{
x
.
Key
}.
Concat
(
x
.
Value
.
Aliases
).
ToDictionary
(
k
=>
k
,
v
=>
prompt
);
return
new
[]
{
x
.
Key
}.
ToDictionary
(
k
=>
k
,
v
=>
prompt
);
}).
ToDictionary
(
k
=>
k
.
Key
,
v
=>
v
.
Value
);
if
(
words
.
Length
<
2
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment