Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
K'van
Tales of MajEyal
Commits
c6dbd611
Commit
c6dbd611
authored
10 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
When pressing space to talk without being subscribed to any channel, a warning is displayed
parent
5c6b5a82
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/engines/default/engine/UserChat.lua
+2
-1
2 additions, 1 deletion
game/engines/default/engine/UserChat.lua
with
2 additions
and
1 deletion
game/engines/default/engine/UserChat.lua
+
2
−
1
View file @
c6dbd611
...
...
@@ -444,7 +444,8 @@ function _M:talkBox(on_end, only_friends)
if
not
profile
.
auth
then
return
end
local
Talkbox
=
require
"engine.dialogs.Talkbox"
local
d
=
Talkbox
.
new
(
self
,
on_end
,
only_friends
)
if
not
d
.
nobody
then
game
:
registerDialog
(
d
)
end
if
not
d
.
nobody
then
game
:
registerDialog
(
d
)
else
game
.
log
(
"#CRIMSON#You are not subscribed to any channel, you can change that in the game options.#LAST#"
)
end
self
:
updateChanList
()
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment