mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-30 01:02:00 +08:00
Fixing minor whitespace conformity in state_manager.js, fixed whitespace conformity in world.js
This commit is contained in:
@@ -51,7 +51,7 @@ var StateManager = {
|
||||
var words = stateName.split(/[.\[\]'"]+/);
|
||||
//for some reason there are sometimes empty strings
|
||||
for (var i = 0; i < words.length; i++) {
|
||||
if (words[i] == '') {
|
||||
if (words[i] == '') {
|
||||
words.splice(i, 1);
|
||||
i--;
|
||||
}
|
||||
@@ -402,4 +402,4 @@ var StateManager = {
|
||||
};
|
||||
|
||||
//alias
|
||||
var $SM = StateManager;
|
||||
var $SM = StateManager;
|
||||
|
||||
Reference in New Issue
Block a user