Browse Source

Merge pull request 'veryimportantnull probably' (#22) from roominfo into master

Reviewed-on: #22
pull/24/head
jake 2 years ago
parent
commit
73fca2e983
  1. 5
      src/packet/ship.rs

5
src/packet/ship.rs

@ -292,7 +292,10 @@ pub struct SmallLeftDialog {
}
impl SmallLeftDialog {
pub fn new(msg: String) -> SmallLeftDialog {
pub fn new(mut msg: String) -> SmallLeftDialog {
if !msg.ends_with('\0') {
msg.push('\0');
}
SmallLeftDialog {
padding: [0x00004500, 0x45004500],
msg: msg,

Loading…
Cancel
Save