forked from Wirlaburla/P3NG0
Fix wrong message in chat when world has been found
This commit is contained in:
parent
3a758e1ab7
commit
ca5fcc734d
|
@ -57,6 +57,7 @@ help_whisper_message=%s, you have been whispered with more information.
|
||||||
time_msg=It is %s.
|
time_msg=It is %s.
|
||||||
roll_msg=%s rolled a %i.
|
roll_msg=%s rolled a %i.
|
||||||
world_not_found_msg=Sorry, I don't know that one.
|
world_not_found_msg=Sorry, I don't know that one.
|
||||||
|
world_found_msg=Taking you there now, teleport to me!
|
||||||
roomusers_msg=There are %i users in this room.
|
roomusers_msg=There are %i users in this room.
|
||||||
conf_reload_msg=My configuration has been reloaded.
|
conf_reload_msg=My configuration has been reloaded.
|
||||||
ping_msg=Response recieved in %ims.
|
ping_msg=Response recieved in %ims.
|
||||||
|
|
|
@ -846,7 +846,7 @@ void lookUpWorldName(std::string alias, char* buffer/*replies*/) {
|
||||||
details.position.z = (*key)["position"][2];
|
details.position.z = (*key)["position"][2];
|
||||||
details.position.yaw = (*key)["position"][3];
|
details.position.yaw = (*key)["position"][3];
|
||||||
|
|
||||||
sprintf(buffer, mainConf->getValue("world_not_found_msg", "Taking you there now, teleport to me!").c_str());
|
sprintf(buffer, mainConf->getValue("world_found_msg", "Taking you there now, teleport to me!").c_str());
|
||||||
handleTeleportRequest(details);
|
handleTeleportRequest(details);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user